Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008217/0.0008217, allocations: 12 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4052, allocations: 54.87 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.594, allocations: 347.9 MB / 0.7005 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.594, allocations: 96.81 kB / 0.7006 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4318/2.026, allocations: 129.9 MB / 0.8274 GB, free: 11.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/2.026, allocations: 4 kB / 0.8274 GB, free: 11.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.737e-05/2.026, allocations: 12 kB / 0.8274 GB, free: 11.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00363/2.03, allocations: 0.9743 MB / 0.8284 GB, free: 10.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/2.03, allocations: 8.031 kB / 0.8284 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003656/2.031, allocations: 102.5 kB / 0.8285 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/2.031, allocations: 87.11 kB / 0.8285 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/2.033, allocations: 0.5482 MB / 0.8291 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/2.033, allocations: 100.4 kB / 0.8292 GB, free: 9.688 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/2.034, allocations: 55.98 kB / 0.8292 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/2.036, allocations: 0.8073 MB / 0.83 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/2.036, allocations: 4 kB / 0.83 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/2.036, allocations: 31.98 kB / 0.83 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/2.037, allocations: 44.88 kB / 0.8301 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/2.039, allocations: 0.6127 MB / 0.8307 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007093/2.046, allocations: 4.025 MB / 0.8346 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/2.047, allocations: 331.5 kB / 0.8349 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/2.05, allocations: 1.761 MB / 0.8367 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/2.05, allocations: 42.5 kB / 0.8367 GB, free: 1.395 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 3.016e-06/2.05, allocations: 4 kB / 0.8367 GB, free: 1.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.004591/2.054, allocations: 1.204 MB / 0.8379 GB, free: 136 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3323/2.387, allocations: 136.5 kB / 0.838 GB, free: 125.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/2.388, allocations: 0.5438 MB / 0.8385 GB, free: 125 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/2.389, allocations: 34.02 kB / 0.8386 GB, free: 125 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/2.389, allocations: 448.9 kB / 0.839 GB, free: 124.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/2.389, allocations: 124.5 kB / 0.8391 GB, free: 124.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/2.389, allocations: 16.41 kB / 0.8391 GB, free: 124.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/2.389, allocations: 343.1 kB / 0.8395 GB, free: 124.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/2.39, allocations: 175.8 kB / 0.8396 GB, free: 124.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/2.391, allocations: 0.5691 MB / 0.8402 GB, free: 123.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/2.391, allocations: 299 kB / 0.8405 GB, free: 123.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/2.391, allocations: 4.156 kB / 0.8405 GB, free: 123.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001957/2.393, allocations: 0.745 MB / 0.8412 GB, free: 123.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/2.393, allocations: 10.81 kB / 0.8412 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/2.393, allocations: 14.23 kB / 0.8412 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/2.394, allocations: 20.16 kB / 0.8412 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/2.395, allocations: 210 kB / 0.8414 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.562e-05/2.395, allocations: 31.19 kB / 0.8415 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/2.396, allocations: 51.56 kB / 0.8415 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/2.396, allocations: 43.22 kB / 0.8416 GB, free: 123.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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.0005523/2.397, allocations: 261.9 kB / 0.8418 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/2.397, allocations: 69.23 kB / 0.8419 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/2.398, allocations: 436.7 kB / 0.8423 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/2.398, allocations: 6.203 kB / 0.8423 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/2.398, allocations: 1.375 kB / 0.8423 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/2.398, allocations: 1.594 kB / 0.8423 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/2.401, allocations: 1.207 MB / 0.8435 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/2.401, allocations: 5.312 kB / 0.8435 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/2.402, allocations: 77.31 kB / 0.8436 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/2.402, allocations: 39.11 kB / 0.8436 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/2.402, allocations: 12.2 kB / 0.8436 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004587/2.403, allocations: 0.5625 MB / 0.8442 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.403, allocations: 3.531 kB / 0.8442 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/2.405, allocations: 0.8235 MB / 0.845 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/2.405, allocations: 188.2 kB / 0.8451 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/2.405, allocations: 17.91 kB / 0.8452 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/2.406, allocations: 29.11 kB / 0.8452 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/2.406, allocations: 32.41 kB / 0.8452 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/2.406, allocations: 19.97 kB / 0.8452 GB, free: 122 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009249/2.407, allocations: 431.2 kB / 0.8457 GB, free: 121.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.407, allocations: 0 / 0.8457 GB, free: 121.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001669/2.409, allocations: 215.7 kB / 0.8459 GB, free: 121.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002711/2.412, allocations: 2.481 MB / 0.8483 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/2.413, allocations: 461.7 kB / 0.8487 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/2.413, allocations: 0 / 0.8487 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005997/2.414, allocations: 168.5 kB / 0.8489 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/2.416, allocations: 276.7 kB / 0.8491 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/2.427, allocations: 13.01 MB / 0.8619 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/2.427, allocations: 0.9476 MB / 0.8628 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/2.428, allocations: 239 kB / 0.863 GB, free: 108.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/2.428, allocations: 3.219 kB / 0.863 GB, free: 108.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.211/5.639, allocations: 15.43 MB / 0.8781 GB, free: 108.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat