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.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.085/1.085, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.309e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0713/0.07137, allocations: 25.19 MB / 173.4 MB, free: 12.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4389, allocations: 70.79 MB / 244.2 MB, free: 5.176 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.4392, allocations: 63.97 kB / 244.2 MB, free: 5.113 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2532/0.6925, allocations: 36.86 MB / 281.1 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd: time 8.075e-06/0.6926, allocations: 0 / 281.1 MB, free: 152 kB / 218.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.6926, allocations: 3.938 kB / 281.1 MB, free: 148 kB / 218.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.001362/0.694, allocations: 490 kB / 281.6 MB, free: 15.62 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.6941, allocations: 12.03 kB / 281.6 MB, free: 15.61 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.6942, allocations: 11.89 kB / 281.6 MB, free: 15.6 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.6946, allocations: 194.9 kB / 281.8 MB, free: 15.37 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.6946, allocations: 0 / 281.8 MB, free: 15.37 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.6947, allocations: 0 / 281.8 MB, free: 15.37 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000137/0.6948, allocations: 20 kB / 281.8 MB, free: 15.35 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.695, allocations: 55.39 kB / 281.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6951, allocations: 0 / 281.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.6951, allocations: 4 kB / 281.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.6951, allocations: 4 kB / 281.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.6954, allocations: 150.9 kB / 282 MB, free: 15.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.6959, allocations: 73.38 kB / 282.1 MB, free: 15 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.696, allocations: 17.78 kB / 282.1 MB, free: 14.97 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/0.6986, allocations: 1.821 MB / 283.9 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.6987, allocations: 38.5 kB / 284 MB, free: 12.7 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 7.734e-06/0.6988, allocations: 0 / 284 MB, free: 12.7 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.001487/0.7003, allocations: 121.5 kB / 284.1 MB, free: 12.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.7004, allocations: 77.11 kB / 284.2 MB, free: 12.48 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.7006, allocations: 105 kB / 284.3 MB, free: 12.37 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.7006, allocations: 33.7 kB / 284.3 MB, free: 12.33 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.7007, allocations: 150.6 kB / 284.4 MB, free: 12.18 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.7008, allocations: 15.72 kB / 284.5 MB, free: 12.17 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.7008, allocations: 0 / 284.5 MB, free: 12.17 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.701, allocations: 318.8 kB / 284.8 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.7011, allocations: 11.94 kB / 284.8 MB, free: 11.84 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.7012, allocations: 17.72 kB / 284.8 MB, free: 11.81 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.7024, allocations: 63.92 kB / 284.9 MB, free: 11.75 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.7025, allocations: 4 kB / 284.9 MB, free: 11.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00129/0.7038, allocations: 117.6 kB / 285 MB, free: 11.62 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.7038, allocations: 8 kB / 285 MB, free: 11.62 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7039, allocations: 0 / 285 MB, free: 11.62 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.7039, allocations: 3.938 kB / 285 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.7042, allocations: 19.92 kB / 285 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.7042, allocations: 0 / 285 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.7044, allocations: 7.922 kB / 285 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.7044, allocations: 4 kB / 285 MB, free: 11.58 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 0.0001299/0.7046, allocations: 105 kB / 285.1 MB, free: 11.47 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001303/0.7059, allocations: 133.6 kB / 285.3 MB, free: 11.34 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.7059, allocations: 0 / 285.3 MB, free: 11.34 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.7076, allocations: 165.8 kB / 285.4 MB, free: 11.16 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.7076, allocations: 4 kB / 285.4 MB, free: 11.16 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7076, allocations: 0 / 285.4 MB, free: 11.16 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.7077, allocations: 7.984 kB / 285.4 MB, free: 11.15 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.7079, allocations: 142.2 kB / 285.6 MB, free: 10.97 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.708, allocations: 0 / 285.6 MB, free: 10.97 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.7082, allocations: 19.94 kB / 285.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.7082, allocations: 0 / 285.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.7083, allocations: 0 / 285.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.7083, allocations: 4.125 kB / 285.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.7083, allocations: 4 kB / 285.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.7098, allocations: 183.4 kB / 285.8 MB, free: 10.74 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.71, allocations: 89.09 kB / 285.9 MB, free: 10.63 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.7101, allocations: 3.938 kB / 285.9 MB, free: 10.63 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.7102, allocations: 7.984 kB / 285.9 MB, free: 10.62 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.7103, allocations: 4 kB / 285.9 MB, free: 10.62 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.7104, allocations: 3.984 kB / 285.9 MB, free: 10.61 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.7105, allocations: 91.66 kB / 286 MB, free: 10.52 MB / 234.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.7105, allocations: 0 / 286 MB, free: 10.52 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001248/0.7118, allocations: 183.7 kB / 286.2 MB, free: 10.34 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.003802/0.7156, allocations: 1.039 MB / 287.2 MB, free: 9.27 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.7159, allocations: 35.92 kB / 287.2 MB, free: 9.234 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7159, allocations: 0 / 287.2 MB, free: 9.234 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.7161, allocations: 24.19 kB / 287.3 MB, free: 9.211 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.7167, allocations: 21.41 kB / 287.3 MB, free: 9.191 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.7181, allocations: 247.9 kB / 287.5 MB, free: 8.902 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.7185, allocations: 0.6846 MB / 288.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.7187, allocations: 31.41 kB / 288.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7187, allocations: 0 / 288.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.799/3.517, allocations: 4.027 MB / 292.3 MB, free: 4.137 MB / 234.7 MB