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.45/2.45, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.319e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4209, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.073/8.494, allocations: 2.588 GB / 2.944 GB, free: 106.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/8.495, allocations: 84.98 kB / 2.944 GB, free: 106.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457/9.952, allocations: 312.1 MB / 3.249 GB, free: 62.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/9.952, allocations: 0 / 3.249 GB, free: 62.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.786e-05/9.952, allocations: 11.83 kB / 3.249 GB, free: 62.52 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.005826/9.958, allocations: 1.307 MB / 3.25 GB, free: 61.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/9.958, allocations: 11.88 kB / 3.25 GB, free: 61.26 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/9.958, allocations: 58.5 kB / 3.25 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/9.96, allocations: 209.9 kB / 3.25 GB, free: 61.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/9.961, allocations: 358.7 kB / 3.251 GB, free: 60.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/9.961, allocations: 24.56 kB / 3.251 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/9.961, allocations: 24 kB / 3.251 GB, free: 60.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/9.963, allocations: 480.5 kB / 3.251 GB, free: 60.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/9.963, allocations: 9.562 kB / 3.251 GB, free: 60.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/9.963, allocations: 12 kB / 3.251 GB, free: 60.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/9.963, allocations: 4 kB / 3.251 GB, free: 60.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/9.965, allocations: 380.1 kB / 3.251 GB, free: 59.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/9.968, allocations: 2.291 MB / 3.254 GB, free: 57.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/9.969, allocations: 274.9 kB / 3.254 GB, free: 57.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/9.969, allocations: 57.08 kB / 3.254 GB, free: 57.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06005/10.03, allocations: 15.77 MB / 3.269 GB, free: 41.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/10.03, allocations: 38.56 kB / 3.269 GB, free: 41.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.247e-06/10.03, allocations: 0 / 3.269 GB, free: 41.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001877/10.03, allocations: 411.4 kB / 3.27 GB, free: 40.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/10.03, allocations: 114.8 kB / 3.27 GB, free: 40.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/10.03, allocations: 247.3 kB / 3.27 GB, free: 40.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/10.03, allocations: 25.7 kB / 3.27 GB, free: 40.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/10.03, allocations: 272.8 kB / 3.27 GB, free: 40.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/10.03, allocations: 51.28 kB / 3.27 GB, free: 40.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/10.03, allocations: 8 kB / 3.27 GB, free: 40.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.047e-05/10.03, allocations: 318.8 kB / 3.271 GB, free: 39.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/10.03, allocations: 52.56 kB / 3.271 GB, free: 39.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/10.03, allocations: 196.5 kB / 3.271 GB, free: 39.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/10.03, allocations: 83.94 kB / 3.271 GB, free: 39.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/10.03, allocations: 0 / 3.271 GB, free: 39.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006009/10.03, allocations: 265 kB / 3.271 GB, free: 39.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/10.03, allocations: 8 kB / 3.271 GB, free: 39.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/10.03, allocations: 4 kB / 3.271 GB, free: 39.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/10.03, allocations: 8.594 kB / 3.271 GB, free: 39.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/10.03, allocations: 87.83 kB / 3.271 GB, free: 39.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/10.03, allocations: 11.92 kB / 3.271 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/10.03, allocations: 51.62 kB / 3.272 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/10.03, allocations: 12 kB / 3.272 GB, free: 38.97 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 () * 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.0001101/10.03, allocations: 132.8 kB / 3.272 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/10.03, allocations: 31.7 kB / 3.272 GB, free: 38.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/10.04, allocations: 0.8899 MB / 3.273 GB, free: 37.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/10.04, allocations: 15.98 kB / 3.273 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/10.04, allocations: 0 / 3.273 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/10.04, allocations: 0 / 3.273 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/10.04, allocations: 0.5681 MB / 3.273 GB, free: 37.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/10.04, allocations: 0 / 3.273 GB, free: 37.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/10.04, allocations: 55.89 kB / 3.273 GB, free: 37.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/10.04, allocations: 0 / 3.273 GB, free: 37.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/10.04, allocations: 8 kB / 3.273 GB, free: 37.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/10.04, allocations: 4 kB / 3.273 GB, free: 37.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/10.04, allocations: 0 / 3.273 GB, free: 37.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/10.04, allocations: 475.1 kB / 3.274 GB, free: 36.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/10.04, allocations: 148.3 kB / 3.274 GB, free: 36.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/10.04, allocations: 4 kB / 3.274 GB, free: 36.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/10.04, allocations: 23.98 kB / 3.274 GB, free: 36.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/10.04, allocations: 19.97 kB / 3.274 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/10.04, allocations: 4 kB / 3.274 GB, free: 36.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005149/10.04, allocations: 226.2 kB / 3.274 GB, free: 36.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.81e-07/10.04, allocations: 0 / 3.274 GB, free: 36.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006233/10.05, allocations: 0.874 MB / 3.275 GB, free: 35.42 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 () * 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.01051/10.06, allocations: 2.199 MB / 3.277 GB, free: 33.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006263/10.06, allocations: 239.7 kB / 3.277 GB, free: 33.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/10.06, allocations: 1.188 kB / 3.277 GB, free: 33.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/10.06, allocations: 187.5 kB / 3.277 GB, free: 32.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/10.06, allocations: 123.8 kB / 3.278 GB, free: 32.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5495/10.61, allocations: 55.18 MB / 3.331 GB, free: 63.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/10.61, allocations: 0.8463 MB / 3.332 GB, free: 63.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/10.61, allocations: 155.8 kB / 3.332 GB, free: 63.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/10.61, allocations: 0.75 kB / 3.332 GB, free: 63.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.387/14, allocations: 24.09 MB / 3.356 GB, free: 61.96 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