Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.043/1.043, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.834e-05, allocations: 4 kB / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1755, allocations: 25.15 MB / 179.5 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.311, allocations: 362.3 MB / 0.5291 GB, free: 61.86 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.311, allocations: 66.19 kB / 0.5292 GB, free: 61.84 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1734/1.485, allocations: 48.51 MB / 0.5765 GB, free: 16.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.485, allocations: 0 / 0.5765 GB, free: 16.61 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/1.485, allocations: 0 / 0.5765 GB, free: 16.61 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007053/1.486, allocations: 438.2 kB / 0.5769 GB, free: 16.14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.486, allocations: 8.031 kB / 0.5769 GB, free: 16.13 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/1.486, allocations: 38.56 kB / 0.577 GB, free: 16.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/1.486, allocations: 3.906 kB / 0.577 GB, free: 16.08 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/1.486, allocations: 175.1 kB / 0.5772 GB, free: 15.87 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/1.486, allocations: 8 kB / 0.5772 GB, free: 15.86 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/1.486, allocations: 3.984 kB / 0.5772 GB, free: 15.86 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/1.486, allocations: 67.3 kB / 0.5772 GB, free: 15.78 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.486, allocations: 0 / 0.5772 GB, free: 15.78 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/1.486, allocations: 0 / 0.5772 GB, free: 15.78 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.486, allocations: 0 / 0.5772 GB, free: 15.78 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/1.486, allocations: 15.98 kB / 0.5772 GB, free: 15.77 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/1.486, allocations: 186.5 kB / 0.5774 GB, free: 15.53 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/1.487, allocations: 77.3 kB / 0.5775 GB, free: 15.44 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/1.487, allocations: 21.72 kB / 0.5775 GB, free: 15.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.488, allocations: 1.634 MB / 0.5791 GB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.488, allocations: 38.5 kB / 0.5792 GB, free: 13.38 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/1.488, allocations: 0 / 0.5792 GB, free: 13.38 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002399/1.488, allocations: 57.67 kB / 0.5792 GB, free: 13.32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/1.488, allocations: 81.11 kB / 0.5793 GB, free: 13.22 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.488, allocations: 105 kB / 0.5794 GB, free: 13.11 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.488, allocations: 33.64 kB / 0.5794 GB, free: 13.07 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/1.488, allocations: 154.5 kB / 0.5796 GB, free: 12.92 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/1.488, allocations: 19.72 kB / 0.5796 GB, free: 12.9 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/1.488, allocations: 4 kB / 0.5796 GB, free: 12.89 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/1.489, allocations: 314.8 kB / 0.5799 GB, free: 12.58 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/1.489, allocations: 15.94 kB / 0.5799 GB, free: 12.56 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/1.489, allocations: 17.72 kB / 0.5799 GB, free: 12.54 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/1.489, allocations: 15.98 kB / 0.5799 GB, free: 12.52 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.489, allocations: 3.953 kB / 0.5799 GB, free: 12.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001491/1.489, allocations: 57.62 kB / 0.58 GB, free: 12.46 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.489, allocations: 4 kB / 0.58 GB, free: 12.45 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.489, allocations: 8 kB / 0.58 GB, free: 12.45 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.489, allocations: 0 / 0.58 GB, free: 12.45 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/1.489, allocations: 11.98 kB / 0.58 GB, free: 12.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.489, allocations: 0 / 0.58 GB, free: 12.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/1.489, allocations: 11.92 kB / 0.58 GB, free: 12.42 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/1.489, allocations: 4 kB / 0.58 GB, free: 12.42 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/1.489, allocations: 107.7 kB / 0.5801 GB, free: 12.31 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/1.489, allocations: 11.86 kB / 0.5801 GB, free: 12.3 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/1.49, allocations: 121.5 kB / 0.5803 GB, free: 12.17 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.49, allocations: 0 / 0.5803 GB, free: 12.17 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.49, allocations: 128 / 0.5803 GB, free: 12.17 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.49, allocations: 0 / 0.5803 GB, free: 12.17 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/1.49, allocations: 181.5 kB / 0.5804 GB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.49, allocations: 0 / 0.5804 GB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/1.49, allocations: 19.94 kB / 0.5805 GB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.49, allocations: 4 kB / 0.5805 GB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.49, allocations: 4 kB / 0.5805 GB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.49, allocations: 0 / 0.5805 GB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.49, allocations: 0 / 0.5805 GB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.49, allocations: 127.9 kB / 0.5806 GB, free: 11.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/1.49, allocations: 93 kB / 0.5807 GB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/1.49, allocations: 7.984 kB / 0.5807 GB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/1.491, allocations: 8 kB / 0.5807 GB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/1.491, allocations: 8.266 kB / 0.5807 GB, free: 11.63 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.491, allocations: 0 / 0.5807 GB, free: 11.63 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.563e-05/1.491, allocations: 95.22 kB / 0.5808 GB, free: 11.54 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-07/1.491, allocations: 0 / 0.5808 GB, free: 11.54 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009011/1.492, allocations: 215.7 kB / 0.581 GB, free: 11.33 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/1.494, allocations: 1.429 MB / 0.5824 GB, free: 9.871 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/1.494, allocations: 43.86 kB / 0.5824 GB, free: 9.828 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.494, allocations: 0 / 0.5824 GB, free: 9.828 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/1.494, allocations: 27.98 kB / 0.5825 GB, free: 9.801 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/1.494, allocations: 19.98 kB / 0.5825 GB, free: 9.781 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/1.495, allocations: 260.7 kB / 0.5827 GB, free: 9.48 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/1.495, allocations: 0.6887 MB / 0.5834 GB, free: 8.766 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/1.496, allocations: 35.36 kB / 0.5834 GB, free: 8.73 MB / 234.7 MB Notification: Performance of SimCode: time 8.82e-07/1.496, allocations: 0 / 0.5834 GB, free: 8.73 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.632/4.128, allocations: 6.855 MB / 0.5901 GB, free: 1.867 MB / 234.7 MB