Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004659, allocations: 11.98 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3562, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.685/1.041, allocations: 288.6 MB / 0.6055 GB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.041, allocations: 66.41 kB / 0.6055 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07981/1.121, allocations: 20.19 MB / 0.6253 GB, free: 10.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.121, allocations: 4 kB / 0.6253 GB, free: 10.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/1.121, allocations: 0 / 0.6253 GB, free: 10.14 MB / 442.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.001349/1.123, allocations: 0.5616 MB / 0.6258 GB, free: 9.555 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.123, allocations: 8.031 kB / 0.6258 GB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/1.123, allocations: 65.97 kB / 0.6259 GB, free: 9.488 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/1.123, allocations: 27.72 kB / 0.6259 GB, free: 9.461 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/1.123, allocations: 227.3 kB / 0.6261 GB, free: 9.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/1.124, allocations: 126.8 kB / 0.6262 GB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/1.124, allocations: 27.75 kB / 0.6263 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/1.125, allocations: 321.9 kB / 0.6266 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.125, allocations: 3.938 kB / 0.6266 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/1.125, allocations: 11.31 kB / 0.6266 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.125, allocations: 8 kB / 0.6266 GB, free: 8.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/1.126, allocations: 0.7299 MB / 0.6273 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/1.128, allocations: 1.168 MB / 0.6285 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/1.128, allocations: 147.1 kB / 0.6286 GB, free: 6.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/1.132, allocations: 2.619 MB / 0.6311 GB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/1.132, allocations: 33.88 kB / 0.6312 GB, free: 3.871 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.965e-06/1.132, allocations: 3.938 kB / 0.6312 GB, free: 3.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009891/1.133, allocations: 228.7 kB / 0.6314 GB, free: 3.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.133, allocations: 55.41 kB / 0.6315 GB, free: 3.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/1.133, allocations: 195.4 kB / 0.6316 GB, free: 3.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.133, allocations: 27.89 kB / 0.6317 GB, free: 3.398 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.133, allocations: 273.1 kB / 0.6319 GB, free: 3.141 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/1.133, allocations: 64.75 kB / 0.632 GB, free: 3.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/1.133, allocations: 5 kB / 0.632 GB, free: 3.086 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/1.134, allocations: 330.3 kB / 0.6323 GB, free: 2.762 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/1.134, allocations: 54.58 kB / 0.6324 GB, free: 2.719 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/1.134, allocations: 310.8 kB / 0.6327 GB, free: 2.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/1.134, allocations: 97.98 kB / 0.6328 GB, free: 2.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.134, allocations: 0 / 0.6328 GB, free: 2.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008648/1.135, allocations: 369.4 kB / 0.6331 GB, free: 1.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/1.135, allocations: 8 kB / 0.6331 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/1.135, allocations: 12 kB / 0.6331 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/1.135, allocations: 16 kB / 0.6331 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/1.136, allocations: 110.8 kB / 0.6332 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/1.136, allocations: 23.92 kB / 0.6333 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/1.137, allocations: 25.39 kB / 0.6333 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/1.137, allocations: 30.92 kB / 0.6333 GB, free: 1.719 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (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 0.0002066/1.137, allocations: 153.6 kB / 0.6335 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/1.137, allocations: 15.81 kB / 0.6335 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/1.138, allocations: 184.6 kB / 0.6337 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.138, allocations: 4 kB / 0.6337 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.138, allocations: 0 / 0.6337 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.138, allocations: 0 / 0.6337 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/1.138, allocations: 467.9 kB / 0.6341 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.138, allocations: 0 / 0.6341 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/1.139, allocations: 39.91 kB / 0.6341 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.139, allocations: 4 kB / 0.6342 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.139, allocations: 8.062 kB / 0.6342 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.139, allocations: 4 kB / 0.6342 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.139, allocations: 0 / 0.6342 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/1.139, allocations: 242.4 kB / 0.6344 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/1.139, allocations: 124.7 kB / 0.6345 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/1.139, allocations: 3.953 kB / 0.6345 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/1.14, allocations: 15.98 kB / 0.6345 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/1.14, allocations: 11.92 kB / 0.6345 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/1.14, allocations: 7.984 kB / 0.6346 GB, free: 376 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001771/1.14, allocations: 144.5 kB / 0.6347 GB, free: 232 kB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.14, allocations: 0 / 0.6347 GB, free: 232 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.00073/1.141, allocations: 104 kB / 0.6348 GB, free: 128 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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.2728/1.414, allocations: 0.9856 MB / 0.6357 GB, free: 162.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005652/1.414, allocations: 181.4 kB / 0.6359 GB, free: 162.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.414, allocations: 0.75 kB / 0.6359 GB, free: 162.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/1.414, allocations: 39.64 kB / 0.636 GB, free: 162.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/1.415, allocations: 54.56 kB / 0.636 GB, free: 162.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.437, allocations: 12.78 MB / 0.6485 GB, free: 154.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/1.437, allocations: 0.7344 MB / 0.6492 GB, free: 154.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.437, allocations: 66.03 kB / 0.6493 GB, free: 154.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/1.437, allocations: 1.344 kB / 0.6493 GB, free: 154.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.465/3.902, allocations: 4.353 MB / 0.6535 GB, free: 153.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat