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/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.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.511/2.511, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.952e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3822, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.016/8.398, allocations: 2.587 GB / 2.937 GB, free: 116 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/8.399, allocations: 88.52 kB / 2.937 GB, free: 116 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436/9.834, allocations: 308.2 MB / 3.238 GB, free: 63.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/9.835, allocations: 4 kB / 3.238 GB, free: 63.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.773e-05/9.835, allocations: 4 kB / 3.238 GB, free: 63.32 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.005752/9.84, allocations: 1.318 MB / 3.239 GB, free: 61.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/9.84, allocations: 12.03 kB / 3.239 GB, free: 61.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/9.843, allocations: 195.1 kB / 3.239 GB, free: 61.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/9.844, allocations: 362.4 kB / 3.24 GB, free: 61.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/9.844, allocations: 19.95 kB / 3.24 GB, free: 61.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/9.844, allocations: 12 kB / 3.24 GB, free: 61.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005979/9.844, allocations: 225 kB / 3.24 GB, free: 61.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/9.845, allocations: 321.6 kB / 3.24 GB, free: 60.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/9.845, allocations: 3.984 kB / 3.24 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/9.845, allocations: 4 kB / 3.24 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/9.845, allocations: 11.91 kB / 3.24 GB, free: 60.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/9.848, allocations: 2.236 MB / 3.242 GB, free: 58.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/9.848, allocations: 138.4 kB / 3.243 GB, free: 58.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/9.849, allocations: 56.78 kB / 3.243 GB, free: 58.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05813/9.907, allocations: 15.77 MB / 3.258 GB, free: 41.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/9.907, allocations: 34.56 kB / 3.258 GB, free: 40.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/9.907, allocations: 0 / 3.258 GB, free: 40.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001427/9.908, allocations: 289.4 kB / 3.258 GB, free: 40.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/9.908, allocations: 110.8 kB / 3.258 GB, free: 40.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/9.909, allocations: 226.2 kB / 3.259 GB, free: 40.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/9.909, allocations: 29.7 kB / 3.259 GB, free: 40.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/9.909, allocations: 273.9 kB / 3.259 GB, free: 40.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/9.909, allocations: 47.36 kB / 3.259 GB, free: 39.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/9.909, allocations: 0 / 3.259 GB, free: 39.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.147e-05/9.909, allocations: 327.3 kB / 3.259 GB, free: 39.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/9.909, allocations: 48.56 kB / 3.259 GB, free: 39.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/9.909, allocations: 188.2 kB / 3.26 GB, free: 39.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/9.91, allocations: 93.75 kB / 3.26 GB, free: 39.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/9.91, allocations: 4 kB / 3.26 GB, free: 39.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006958/9.91, allocations: 257 kB / 3.26 GB, free: 38.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/9.911, allocations: 4 kB / 3.26 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/9.911, allocations: 4 kB / 3.26 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/9.911, allocations: 8 kB / 3.26 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/9.911, allocations: 84.48 kB / 3.26 GB, free: 38.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/9.911, allocations: 11.94 kB / 3.26 GB, free: 38.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/9.912, allocations: 43.66 kB / 3.26 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/9.912, allocations: 16 kB / 3.26 GB, free: 38.82 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.0001057/9.912, allocations: 128.8 kB / 3.26 GB, free: 38.69 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005093/9.912, allocations: 147.8 kB / 3.26 GB, free: 38.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/9.912, allocations: 27.66 kB / 3.26 GB, free: 38.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/9.914, allocations: 0.9015 MB / 3.261 GB, free: 37.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/9.914, allocations: 15.98 kB / 3.261 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/9.914, allocations: 0 / 3.261 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/9.914, allocations: 4 kB / 3.261 GB, free: 37.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/9.914, allocations: 0.504 MB / 3.262 GB, free: 37.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/9.914, allocations: 0 / 3.262 GB, free: 37.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/9.915, allocations: 51.97 kB / 3.262 GB, free: 36.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/9.915, allocations: 7.984 kB / 3.262 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/9.915, allocations: 0 / 3.262 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/9.915, allocations: 4 kB / 3.262 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.915, allocations: 3.984 kB / 3.262 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/9.916, allocations: 475 kB / 3.262 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/9.916, allocations: 152.3 kB / 3.262 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/9.916, allocations: 0 / 3.262 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/9.916, allocations: 27.89 kB / 3.262 GB, free: 36.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/9.916, allocations: 19.97 kB / 3.262 GB, free: 36.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/9.916, allocations: 0 / 3.262 GB, free: 36.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002498/9.916, allocations: 208.6 kB / 3.263 GB, free: 36.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/9.917, allocations: 0 / 3.263 GB, free: 36.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004425/9.921, allocations: 0.8468 MB / 3.263 GB, free: 35.23 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.009489/9.93, allocations: 2.276 MB / 3.266 GB, free: 33.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005694/9.931, allocations: 232.4 kB / 3.266 GB, free: 32.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/9.931, allocations: 1.188 kB / 3.266 GB, free: 32.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/9.931, allocations: 172.5 kB / 3.266 GB, free: 32.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/9.933, allocations: 127.1 kB / 3.266 GB, free: 32.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5509/10.48, allocations: 54.27 MB / 3.319 GB, free: 67.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/10.48, allocations: 0.8441 MB / 3.32 GB, free: 67.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/10.48, allocations: 155.1 kB / 3.32 GB, free: 67.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/10.48, allocations: 2.531 kB / 3.32 GB, free: 67.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.502/13.99, allocations: 24.67 MB / 3.344 GB, free: 65.36 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