Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.655/1.655, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 233.3 MB, free: 2.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08594, allocations: 38.77 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.74/0.826, allocations: 181.8 MB / 453.9 MB, free: 91.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.8263, allocations: 74 kB / 454 MB, free: 91.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.136/0.9624, allocations: 36.36 MB / 490.3 MB, free: 69.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.9624, allocations: 0 / 490.3 MB, free: 69.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.9624, allocations: 4 kB / 490.3 MB, free: 69.07 MB / 346.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.0008536/0.9633, allocations: 0.5046 MB / 490.8 MB, free: 68.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9633, allocations: 11.97 kB / 490.9 MB, free: 68.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.9634, allocations: 30.56 kB / 490.9 MB, free: 68.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.9634, allocations: 4 kB / 490.9 MB, free: 68.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.9637, allocations: 186.5 kB / 491.1 MB, free: 68.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.9637, allocations: 3.438 kB / 491.1 MB, free: 68.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.9637, allocations: 4 kB / 491.1 MB, free: 68.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.9639, allocations: 70.39 kB / 491.2 MB, free: 68.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.9639, allocations: 0 / 491.2 MB, free: 68.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.9639, allocations: 0 / 491.2 MB, free: 68.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.964, allocations: 0 / 491.2 MB, free: 68.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.9641, allocations: 19.98 kB / 491.2 MB, free: 68.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.9643, allocations: 173.2 kB / 491.3 MB, free: 67.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.9646, allocations: 84.55 kB / 491.4 MB, free: 67.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.9657, allocations: 1.817 MB / 493.2 MB, free: 65.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.9658, allocations: 38.12 kB / 493.3 MB, free: 65.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.9658, allocations: 0 / 493.3 MB, free: 65.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003848/0.9662, allocations: 81.05 kB / 493.4 MB, free: 65.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.9662, allocations: 81.05 kB / 493.4 MB, free: 65.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.9663, allocations: 104.5 kB / 493.5 MB, free: 65.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.9663, allocations: 29.2 kB / 493.6 MB, free: 65.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.9664, allocations: 150.6 kB / 493.7 MB, free: 65.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.9664, allocations: 27.08 kB / 493.7 MB, free: 65.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.9665, allocations: 3.938 kB / 493.7 MB, free: 65.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.9665, allocations: 318.3 kB / 494.1 MB, free: 64.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.9666, allocations: 11.98 kB / 494.1 MB, free: 64.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.9667, allocations: 38.92 kB / 494.1 MB, free: 64.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.362e-05/0.9668, allocations: 18.91 kB / 494.1 MB, free: 64.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9668, allocations: 0 / 494.1 MB, free: 64.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002544/0.9671, allocations: 96.45 kB / 494.2 MB, free: 64.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.9671, allocations: 4 kB / 494.2 MB, free: 64.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9671, allocations: 480 / 494.2 MB, free: 64.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.9672, allocations: 4 kB / 494.2 MB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.9673, allocations: 15.98 kB / 494.2 MB, free: 64.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.9673, allocations: 0 / 494.2 MB, free: 64.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.9674, allocations: 7.938 kB / 494.2 MB, free: 64.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.9674, allocations: 4 kB / 494.3 MB, free: 64.61 MB / 346.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 6.678e-05/0.9675, allocations: 117.8 kB / 494.4 MB, free: 64.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.9676, allocations: 15.8 kB / 494.4 MB, free: 64.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.968, allocations: 120 kB / 494.5 MB, free: 64.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.968, allocations: 4 kB / 494.5 MB, free: 64.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.968, allocations: 0 / 494.5 MB, free: 64.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.968, allocations: 0 / 494.5 MB, free: 64.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.9682, allocations: 179.7 kB / 494.7 MB, free: 64.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9682, allocations: 0 / 494.7 MB, free: 64.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.9683, allocations: 12 kB / 494.7 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.9683, allocations: 0 / 494.7 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.9684, allocations: 7.938 kB / 494.7 MB, free: 64.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9684, allocations: 0 / 494.7 MB, free: 64.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9684, allocations: 7.984 kB / 494.7 MB, free: 64.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.9688, allocations: 148.5 kB / 494.9 MB, free: 63.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.9688, allocations: 96.33 kB / 494.9 MB, free: 63.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.9689, allocations: 7.328 kB / 495 MB, free: 63.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.9689, allocations: 4 kB / 495 MB, free: 63.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.969, allocations: 7.984 kB / 495 MB, free: 63.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.969, allocations: 0 / 495 MB, free: 63.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.9691, allocations: 86.97 kB / 495 MB, free: 63.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9691, allocations: 0 / 495 MB, free: 63.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007751/0.9699, allocations: 194.5 kB / 495.2 MB, free: 63.58 MB / 346.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.001453/0.9713, allocations: 1.05 MB / 496.3 MB, free: 62.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.9716, allocations: 50.97 kB / 496.3 MB, free: 62.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9716, allocations: 0 / 496.3 MB, free: 62.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.9718, allocations: 31.36 kB / 496.4 MB, free: 62.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.972, allocations: 11.38 kB / 496.4 MB, free: 62.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.9734, allocations: 1.228 MB / 497.6 MB, free: 61.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.9735, allocations: 0.6887 MB / 498.3 MB, free: 60.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.9736, allocations: 42.53 kB / 498.3 MB, free: 60.44 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.9737, allocations: 0 / 498.3 MB, free: 60.44 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.506/3.48, allocations: 3.973 MB / 0.4905 GB, free: 56.47 MB / 346.7 MB