Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004524, allocations: 15.98 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3807, allocations: 54.86 MB / 369.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.811/8.192, allocations: 2.588 GB / 2.949 GB, free: 126.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/8.193, allocations: 94.89 kB / 2.949 GB, free: 126.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473/9.665, allocations: 312.9 MB / 3.254 GB, free: 24.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/9.665, allocations: 0 / 3.254 GB, free: 24.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.965e-05/9.665, allocations: 8 kB / 3.254 GB, free: 24.51 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006019/9.671, allocations: 1.355 MB / 3.255 GB, free: 23.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/9.671, allocations: 12.03 kB / 3.255 GB, free: 23.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/9.671, allocations: 62.55 kB / 3.256 GB, free: 23.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/9.674, allocations: 195.4 kB / 3.256 GB, free: 22.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/9.675, allocations: 356.7 kB / 3.256 GB, free: 22.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/9.675, allocations: 28.56 kB / 3.256 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/9.675, allocations: 27.98 kB / 3.256 GB, free: 22.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/9.677, allocations: 494.9 kB / 3.257 GB, free: 21.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/9.677, allocations: 0 / 3.257 GB, free: 21.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/9.677, allocations: 19.88 kB / 3.257 GB, free: 21.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/9.677, allocations: 8 kB / 3.257 GB, free: 21.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/9.679, allocations: 433.2 kB / 3.257 GB, free: 21.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/9.682, allocations: 2.283 MB / 3.259 GB, free: 18.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/9.684, allocations: 302.3 kB / 3.26 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06034/9.744, allocations: 15.66 MB / 3.275 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/9.744, allocations: 34.56 kB / 3.275 GB, free: 1.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.486e-06/9.744, allocations: 0 / 3.275 GB, free: 1.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.002636/9.747, allocations: 493 kB / 3.275 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/9.747, allocations: 102.8 kB / 3.275 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/9.747, allocations: 258.6 kB / 3.276 GB, free: 0.543 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/9.747, allocations: 25.7 kB / 3.276 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/9.747, allocations: 273.8 kB / 3.276 GB, free: 248 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/9.747, allocations: 50.03 kB / 3.276 GB, free: 200 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/9.748, allocations: 8 kB / 3.276 GB, free: 192 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.414/10.16, allocations: 326.1 kB / 3.276 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/10.16, allocations: 82.92 kB / 3.276 GB, free: 68.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/10.16, allocations: 224.1 kB / 3.277 GB, free: 68.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/10.16, allocations: 120.9 kB / 3.277 GB, free: 68.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/10.16, allocations: 1.531 kB / 3.277 GB, free: 68.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001331/10.16, allocations: 331.8 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/10.16, allocations: 7.562 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/10.16, allocations: 5.438 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/10.16, allocations: 10.42 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/10.17, allocations: 87.5 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/10.17, allocations: 11.34 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/10.17, allocations: 47.81 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/10.17, allocations: 18.62 kB / 3.277 GB, free: 68.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002769/10.17, allocations: 154.8 kB / 3.277 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.274e-05/10.17, allocations: 29.25 kB / 3.277 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/10.17, allocations: 0.9546 MB / 3.278 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/10.17, allocations: 15.42 kB / 3.278 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/10.17, allocations: 0 / 3.278 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/10.17, allocations: 0.8438 kB / 3.278 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/10.17, allocations: 0.5687 MB / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/10.17, allocations: 0 / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/10.17, allocations: 57.72 kB / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/10.17, allocations: 0.7031 kB / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/10.17, allocations: 3.812 kB / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/10.17, allocations: 0.6562 kB / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/10.17, allocations: 7.422 kB / 3.279 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/10.17, allocations: 0.5308 MB / 3.28 GB, free: 67.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/10.17, allocations: 150.6 kB / 3.28 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/10.17, allocations: 3.938 kB / 3.28 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/10.17, allocations: 26.3 kB / 3.28 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/10.17, allocations: 22.73 kB / 3.28 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/10.17, allocations: 7.719 kB / 3.28 GB, free: 67.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003005/10.17, allocations: 231 kB / 3.28 GB, free: 67.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.17, allocations: 0 / 3.28 GB, free: 67.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004577/10.18, allocations: 0.8616 MB / 3.281 GB, free: 67.73 MB / 490.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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009356/10.19, allocations: 2.258 MB / 3.283 GB, free: 67.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/10.19, allocations: 318.6 kB / 3.283 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/10.19, allocations: 0 / 3.283 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/10.19, allocations: 214.3 kB / 3.284 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/10.19, allocations: 134.4 kB / 3.284 GB, free: 67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2008/10.39, allocations: 59.59 MB / 3.342 GB, free: 62.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/10.39, allocations: 0.8514 MB / 3.343 GB, free: 61.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/10.39, allocations: 149.2 kB / 3.343 GB, free: 61.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/10.39, allocations: 0 / 3.343 GB, free: 61.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.383/13.77, allocations: 23.99 MB / 3.366 GB, free: 58.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat