Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.104e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.628, allocations: 369.2 MB / 0.7103 GB, free: 95.89 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.628, allocations: 76.88 kB / 0.7103 GB, free: 95.85 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06575/1.694, allocations: 18.69 MB / 0.7286 GB, free: 80.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.694, allocations: 0 / 0.7286 GB, free: 80.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/1.694, allocations: 4 kB / 0.7286 GB, free: 80.55 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001274/1.695, allocations: 0.5631 MB / 0.7292 GB, free: 79.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.695, allocations: 8.031 kB / 0.7292 GB, free: 79.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/1.696, allocations: 31.77 kB / 0.7292 GB, free: 79.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/1.696, allocations: 228.8 kB / 0.7294 GB, free: 79.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/1.696, allocations: 119.4 kB / 0.7295 GB, free: 79.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/1.696, allocations: 12 kB / 0.7295 GB, free: 79.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001016/1.697, allocations: 0.7129 MB / 0.7302 GB, free: 78.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/1.698, allocations: 286.4 kB / 0.7305 GB, free: 78.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.698, allocations: 0 / 0.7305 GB, free: 78.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/1.698, allocations: 0 / 0.7305 GB, free: 78.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/1.698, allocations: 15.89 kB / 0.7305 GB, free: 78.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/1.701, allocations: 3.501 MB / 0.7339 GB, free: 74.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.701, allocations: 46 kB / 0.734 GB, free: 74.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/1.701, allocations: 12.89 kB / 0.734 GB, free: 74.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/1.702, allocations: 451 kB / 0.7344 GB, free: 74.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/1.702, allocations: 42.48 kB / 0.7345 GB, free: 74.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.615e-06/1.702, allocations: 0 / 0.7345 GB, free: 74.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002206/1.702, allocations: 52.77 kB / 0.7345 GB, free: 74.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/1.702, allocations: 51.41 kB / 0.7346 GB, free: 74.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/1.703, allocations: 209.8 kB / 0.7348 GB, free: 73.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.703, allocations: 25.7 kB / 0.7348 GB, free: 73.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.703, allocations: 326.5 kB / 0.7351 GB, free: 73.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/1.703, allocations: 11.48 kB / 0.7351 GB, free: 73.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/1.703, allocations: 0 / 0.7351 GB, free: 73.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/1.703, allocations: 329.8 kB / 0.7354 GB, free: 73.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/1.703, allocations: 35.3 kB / 0.7355 GB, free: 73.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/1.703, allocations: 333.9 kB / 0.7358 GB, free: 72.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/1.704, allocations: 118.5 kB / 0.7359 GB, free: 72.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.704, allocations: 4 kB / 0.7359 GB, free: 72.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009496/1.705, allocations: 332.5 kB / 0.7362 GB, free: 72.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.705, allocations: 12.97 kB / 0.7362 GB, free: 72.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.705, allocations: 12 kB / 0.7362 GB, free: 72.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/1.705, allocations: 16 kB / 0.7363 GB, free: 72.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/1.705, allocations: 99.64 kB / 0.7363 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/1.705, allocations: 31.84 kB / 0.7364 GB, free: 72.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/1.706, allocations: 51.38 kB / 0.7364 GB, free: 72.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/1.706, allocations: 27.5 kB / 0.7365 GB, free: 72.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.947e-05/1.706, allocations: 130.3 kB / 0.7366 GB, free: 71.95 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001294/1.706, allocations: 61.34 kB / 0.7366 GB, free: 71.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/1.706, allocations: 19.81 kB / 0.7367 GB, free: 71.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/1.706, allocations: 20.7 kB / 0.7367 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.706, allocations: 0 / 0.7367 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.706, allocations: 7.938 kB / 0.7367 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.706, allocations: 0 / 0.7367 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/1.706, allocations: 176.5 kB / 0.7369 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.706, allocations: 0 / 0.7369 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/1.707, allocations: 4 kB / 0.7369 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.707, allocations: 0 / 0.7369 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.707, allocations: 0 / 0.7369 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.707, allocations: 0 / 0.7369 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.707, allocations: 4 kB / 0.7369 GB, free: 71.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.707, allocations: 154.6 kB / 0.737 GB, free: 71.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/1.707, allocations: 108 kB / 0.7371 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/1.707, allocations: 0 / 0.7371 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/1.707, allocations: 0 / 0.7371 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/1.707, allocations: 3.938 kB / 0.7371 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/1.707, allocations: 7.984 kB / 0.7371 GB, free: 71.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001273/1.707, allocations: 151.3 kB / 0.7373 GB, free: 71.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.552e-06/1.707, allocations: 0 / 0.7373 GB, free: 71.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007181/1.708, allocations: 91.78 kB / 0.7374 GB, free: 71.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0004918/1.709, allocations: 0.7355 MB / 0.7381 GB, free: 70.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/1.709, allocations: 130.3 kB / 0.7382 GB, free: 70.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.709, allocations: 0 / 0.7382 GB, free: 70.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/1.709, allocations: 6 kB / 0.7382 GB, free: 70.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/1.709, allocations: 16.42 kB / 0.7382 GB, free: 70.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.722, allocations: 4.123 MB / 0.7422 GB, free: 67.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/1.723, allocations: 0.7287 MB / 0.743 GB, free: 66.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/1.723, allocations: 55.61 kB / 0.743 GB, free: 66.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.153e-06/1.723, allocations: 0 / 0.743 GB, free: 66.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.554/4.277, allocations: 3.872 MB / 0.7468 GB, free: 62.37 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat