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.TestSpecificEnthalpy.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.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004832, allocations: 8 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3821, allocations: 54.86 MB / 369.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.919/8.302, allocations: 2.587 GB / 2.948 GB, free: 126.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/8.302, allocations: 93 kB / 2.948 GB, free: 126.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405/9.707, allocations: 291.1 MB / 3.232 GB, free: 50.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.026e-06/9.707, allocations: 0 / 3.232 GB, free: 50.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/9.707, allocations: 11.94 kB / 3.232 GB, free: 50.48 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005699/9.712, allocations: 1.239 MB / 3.233 GB, free: 49.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/9.713, allocations: 8.031 kB / 3.234 GB, free: 49.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/9.713, allocations: 58.55 kB / 3.234 GB, free: 49.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/9.714, allocations: 127.4 kB / 3.234 GB, free: 48.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007827/9.715, allocations: 354.5 kB / 3.234 GB, free: 48.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/9.715, allocations: 20.56 kB / 3.234 GB, free: 48.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/9.715, allocations: 27.95 kB / 3.234 GB, free: 48.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/9.717, allocations: 455 kB / 3.234 GB, free: 48.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/9.717, allocations: 7.938 kB / 3.235 GB, free: 48.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/9.717, allocations: 15.94 kB / 3.235 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/9.717, allocations: 4 kB / 3.235 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/9.719, allocations: 397.3 kB / 3.235 GB, free: 47.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/9.722, allocations: 2.251 MB / 3.237 GB, free: 45.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/9.723, allocations: 258.3 kB / 3.237 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/9.724, allocations: 477.5 kB / 3.238 GB, free: 44.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/9.724, allocations: 34.55 kB / 3.238 GB, free: 44.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 3.456e-06/9.724, allocations: 4 kB / 3.238 GB, free: 44.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.002188/9.726, allocations: 433.1 kB / 3.238 GB, free: 43.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/9.726, allocations: 106.8 kB / 3.238 GB, free: 43.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/9.726, allocations: 246.5 kB / 3.239 GB, free: 43.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/9.726, allocations: 25.7 kB / 3.239 GB, free: 43.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/9.726, allocations: 281.7 kB / 3.239 GB, free: 43.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/9.726, allocations: 35.55 kB / 3.239 GB, free: 43.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/9.727, allocations: 8 kB / 3.239 GB, free: 43.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/9.727, allocations: 322.8 kB / 3.239 GB, free: 42.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/9.727, allocations: 79.94 kB / 3.239 GB, free: 42.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/9.727, allocations: 223.4 kB / 3.24 GB, free: 42.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/9.728, allocations: 111.9 kB / 3.24 GB, free: 42.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/9.728, allocations: 3.938 kB / 3.24 GB, free: 42.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001018/9.729, allocations: 313.4 kB / 3.24 GB, free: 42.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/9.729, allocations: 8 kB / 3.24 GB, free: 42.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/9.729, allocations: 4 kB / 3.24 GB, free: 42.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/9.729, allocations: 8 kB / 3.24 GB, free: 42.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/9.729, allocations: 75.83 kB / 3.24 GB, free: 41.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/9.729, allocations: 8 kB / 3.24 GB, free: 41.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/9.73, allocations: 55.84 kB / 3.24 GB, free: 41.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/9.73, allocations: 16 kB / 3.24 GB, free: 41.88 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 (31): * Single equations (assignments): 31 * 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.0002316/9.73, allocations: 158.2 kB / 3.24 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/9.73, allocations: 27.7 kB / 3.24 GB, free: 41.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/9.732, allocations: 0.6932 MB / 3.241 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/9.732, allocations: 0 / 3.241 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/9.732, allocations: 4 kB / 3.241 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/9.732, allocations: 3.984 kB / 3.241 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/9.732, allocations: 482.7 kB / 3.241 GB, free: 40.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/9.732, allocations: 0 / 3.241 GB, free: 40.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/9.733, allocations: 51.95 kB / 3.241 GB, free: 40.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/9.733, allocations: 0 / 3.241 GB, free: 40.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/9.733, allocations: 8 kB / 3.241 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/9.733, allocations: 0 / 3.241 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/9.733, allocations: 0 / 3.241 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/9.734, allocations: 457.7 kB / 3.242 GB, free: 39.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/9.734, allocations: 148.4 kB / 3.242 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/9.734, allocations: 0 / 3.242 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/9.734, allocations: 27.89 kB / 3.242 GB, free: 39.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/9.734, allocations: 15.97 kB / 3.242 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/9.734, allocations: 4 kB / 3.242 GB, free: 39.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002988/9.735, allocations: 231.2 kB / 3.242 GB, free: 39.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.2e-07/9.735, allocations: 0 / 3.242 GB, free: 39.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004365/9.739, allocations: 0.8624 MB / 3.243 GB, free: 38.63 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.009816/9.749, allocations: 2.169 MB / 3.245 GB, free: 36.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009942/9.75, allocations: 276.8 kB / 3.246 GB, free: 36.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/9.75, allocations: 0 / 3.246 GB, free: 36.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/9.75, allocations: 159.9 kB / 3.246 GB, free: 36.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/9.751, allocations: 119.4 kB / 3.246 GB, free: 35.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5634/10.31, allocations: 59.42 MB / 3.304 GB, free: 67.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/10.32, allocations: 0.8286 MB / 3.305 GB, free: 66.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/10.32, allocations: 138.6 kB / 3.305 GB, free: 66.97 MB / 490.7 MB Notification: Performance of SimCode: time 1.253e-06/10.32, allocations: 0 / 3.305 GB, free: 66.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.454/13.77, allocations: 23.61 MB / 3.328 GB, free: 65.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat