Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005286, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1048, allocations: 44.5 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6005/0.7053, allocations: 187.2 MB / 495.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.7057, allocations: 73.19 kB / 495.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1635/0.8692, allocations: 36.79 MB / 0.5201 GB, free: 3.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8693, allocations: 0 / 0.5201 GB, free: 3.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.8693, allocations: 4 kB / 0.5201 GB, free: 3.465 MB / 410.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.001044/0.8704, allocations: 0.4987 MB / 0.5206 GB, free: 2.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.8704, allocations: 19.95 kB / 0.5206 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.8705, allocations: 38.5 kB / 0.5207 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.8705, allocations: 3.906 kB / 0.5207 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.8708, allocations: 187 kB / 0.5209 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.8708, allocations: 4 kB / 0.5209 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.8709, allocations: 0 / 0.5209 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.8711, allocations: 67.39 kB / 0.5209 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8711, allocations: 0 / 0.5209 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8711, allocations: 0 / 0.5209 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8711, allocations: 0 / 0.5209 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.8712, allocations: 19.92 kB / 0.5209 GB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.8715, allocations: 178.5 kB / 0.5211 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.8719, allocations: 85.22 kB / 0.5212 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2583/1.13, allocations: 1.815 MB / 0.523 GB, free: 147.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.13, allocations: 32.97 kB / 0.523 GB, free: 147.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.517e-06/1.13, allocations: 0 / 0.523 GB, free: 147.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005138/1.131, allocations: 81.36 kB / 0.5231 GB, free: 147.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.131, allocations: 78.98 kB / 0.5232 GB, free: 147.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.131, allocations: 107.9 kB / 0.5233 GB, free: 147.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/1.131, allocations: 26.95 kB / 0.5233 GB, free: 147.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/1.131, allocations: 153.6 kB / 0.5234 GB, free: 147.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/1.131, allocations: 24.12 kB / 0.5235 GB, free: 147.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/1.131, allocations: 2.562 kB / 0.5235 GB, free: 147.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/1.131, allocations: 320.1 kB / 0.5238 GB, free: 147 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/1.131, allocations: 12.84 kB / 0.5238 GB, free: 147 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/1.131, allocations: 37 kB / 0.5238 GB, free: 147 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/1.132, allocations: 21 kB / 0.5238 GB, free: 147 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.132, allocations: 0.5312 kB / 0.5238 GB, free: 147 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003188/1.132, allocations: 81.19 kB / 0.5239 GB, free: 146.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.132, allocations: 7.609 kB / 0.5239 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.132, allocations: 3.172 kB / 0.5239 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.132, allocations: 4.375 kB / 0.5239 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/1.132, allocations: 22.28 kB / 0.5239 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.132, allocations: 1.719 kB / 0.5239 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/1.132, allocations: 8.188 kB / 0.524 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/1.132, allocations: 4.516 kB / 0.524 GB, free: 146.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.325e-05/1.132, allocations: 111.5 kB / 0.5241 GB, free: 146.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/1.132, allocations: 3.891 kB / 0.5241 GB, free: 146.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/1.133, allocations: 123.3 kB / 0.5242 GB, free: 146.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.133, allocations: 5.578 kB / 0.5242 GB, free: 146.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.133, allocations: 3.562 kB / 0.5242 GB, free: 146.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.133, allocations: 0.5312 kB / 0.5242 GB, free: 146.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/1.133, allocations: 178.1 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.133, allocations: 2.5 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.133, allocations: 14.7 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.133, allocations: 1.031 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/1.134, allocations: 6.219 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.134, allocations: 3.422 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.134, allocations: 0.5 kB / 0.5244 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/1.134, allocations: 156.4 kB / 0.5245 GB, free: 146.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/1.134, allocations: 89.66 kB / 0.5246 GB, free: 146.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/1.134, allocations: 4.109 kB / 0.5246 GB, free: 146.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/1.134, allocations: 2.875 kB / 0.5246 GB, free: 146.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/1.134, allocations: 6.922 kB / 0.5246 GB, free: 146.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/1.134, allocations: 5.359 kB / 0.5246 GB, free: 146.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.607e-05/1.134, allocations: 99.73 kB / 0.5247 GB, free: 146.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.332e-06/1.134, allocations: 0 / 0.5247 GB, free: 146.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001031/1.136, allocations: 192.8 kB / 0.5249 GB, free: 146.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.001949/1.137, allocations: 1.033 MB / 0.5259 GB, free: 145.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/1.138, allocations: 48.42 kB / 0.526 GB, free: 145.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.138, allocations: 3.5 kB / 0.526 GB, free: 145.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/1.138, allocations: 30.08 kB / 0.526 GB, free: 145.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/1.138, allocations: 18.34 kB / 0.526 GB, free: 145.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/1.14, allocations: 1.236 MB / 0.5272 GB, free: 144.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/1.14, allocations: 0.6931 MB / 0.5279 GB, free: 144 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.14, allocations: 28.14 kB / 0.5279 GB, free: 144 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/1.14, allocations: 0 / 0.5279 GB, free: 144 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.728/3.869, allocations: 3.981 MB / 0.5318 GB, free: 143.6 MB / 410.7 MB