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/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.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.567/2.567, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.991e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3535, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.037/8.391, allocations: 2.586 GB / 2.936 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/8.391, allocations: 83.27 kB / 2.936 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355/9.746, allocations: 287 MB / 3.217 GB, free: 81.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/9.746, allocations: 0 / 3.217 GB, free: 81.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.023e-05/9.746, allocations: 11.94 kB / 3.217 GB, free: 81.89 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.005977/9.752, allocations: 1.203 MB / 3.218 GB, free: 80.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/9.752, allocations: 8.031 kB / 3.218 GB, free: 80.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/9.753, allocations: 122 kB / 3.218 GB, free: 80.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/9.754, allocations: 347.3 kB / 3.218 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/9.754, allocations: 12 kB / 3.218 GB, free: 80.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/9.754, allocations: 12.34 kB / 3.218 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005502/9.755, allocations: 211.6 kB / 3.218 GB, free: 80.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/9.756, allocations: 307.8 kB / 3.219 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/9.756, allocations: 3.938 kB / 3.219 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/9.756, allocations: 0 / 3.219 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/9.756, allocations: 11.7 kB / 3.219 GB, free: 79.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/9.759, allocations: 2.202 MB / 3.221 GB, free: 77.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/9.759, allocations: 102.5 kB / 3.221 GB, free: 77.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/9.759, allocations: 52.61 kB / 3.221 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/9.76, allocations: 487.9 kB / 3.222 GB, free: 76.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/9.76, allocations: 34.5 kB / 3.222 GB, free: 76.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/9.76, allocations: 0 / 3.222 GB, free: 76.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.001096/9.761, allocations: 250.2 kB / 3.222 GB, free: 76.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/9.761, allocations: 106.8 kB / 3.222 GB, free: 76.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/9.761, allocations: 221.9 kB / 3.222 GB, free: 76.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/9.761, allocations: 25.7 kB / 3.222 GB, free: 76.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/9.761, allocations: 282.4 kB / 3.222 GB, free: 75.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/9.761, allocations: 39.27 kB / 3.222 GB, free: 75.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/9.761, allocations: 0 / 3.222 GB, free: 75.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/9.762, allocations: 318.6 kB / 3.223 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/9.762, allocations: 40 kB / 3.223 GB, free: 75.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/9.762, allocations: 191 kB / 3.223 GB, free: 75.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/9.762, allocations: 90.38 kB / 3.223 GB, free: 75.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/9.762, allocations: 7.953 kB / 3.223 GB, free: 75.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006048/9.763, allocations: 231.8 kB / 3.223 GB, free: 75.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/9.763, allocations: 4 kB / 3.223 GB, free: 75.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/9.763, allocations: 4 kB / 3.223 GB, free: 75.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/9.763, allocations: 8 kB / 3.223 GB, free: 75.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/9.763, allocations: 79.5 kB / 3.223 GB, free: 74.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/9.763, allocations: 7.938 kB / 3.223 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/9.764, allocations: 46.48 kB / 3.223 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/9.764, allocations: 12 kB / 3.223 GB, free: 74.91 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 (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.0001034/9.764, allocations: 122.9 kB / 3.224 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004255/9.764, allocations: 146.8 kB / 3.224 GB, free: 74.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/9.765, allocations: 23.72 kB / 3.224 GB, free: 74.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009879/9.766, allocations: 0.6242 MB / 3.224 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/9.766, allocations: 6.906 kB / 3.224 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/9.766, allocations: 4 kB / 3.224 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/9.766, allocations: 0 / 3.224 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/9.766, allocations: 430.7 kB / 3.225 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/9.766, allocations: 4 kB / 3.225 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/9.767, allocations: 47.2 kB / 3.225 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/9.767, allocations: 4 kB / 3.225 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/9.767, allocations: 3.938 kB / 3.225 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/9.767, allocations: 0 / 3.225 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/9.767, allocations: 0 / 3.225 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/9.767, allocations: 388.2 kB / 3.225 GB, free: 73.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/9.767, allocations: 143.5 kB / 3.225 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/9.767, allocations: 0 / 3.225 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/9.768, allocations: 27.67 kB / 3.225 GB, free: 73.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/9.768, allocations: 23.64 kB / 3.225 GB, free: 73.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/9.768, allocations: 0 / 3.225 GB, free: 73.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000251/9.768, allocations: 207.3 kB / 3.226 GB, free: 72.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/9.768, allocations: 0 / 3.226 GB, free: 72.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004714/9.773, allocations: 0.8414 MB / 3.226 GB, free: 72.04 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 () * 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.01043/9.783, allocations: 2.181 MB / 3.228 GB, free: 70.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005728/9.784, allocations: 191.3 kB / 3.229 GB, free: 69.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/9.784, allocations: 0 / 3.229 GB, free: 69.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/9.784, allocations: 131.4 kB / 3.229 GB, free: 69.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/9.785, allocations: 116.6 kB / 3.229 GB, free: 69.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1856/9.971, allocations: 54.19 MB / 3.282 GB, free: 19.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/9.971, allocations: 0.8344 MB / 3.283 GB, free: 18.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/9.972, allocations: 143.4 kB / 3.283 GB, free: 18.32 MB / 490.7 MB Notification: Performance of SimCode: time 9.31e-07/9.972, allocations: 448 / 3.283 GB, free: 18.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.723/13.7, allocations: 24.21 MB / 3.306 GB, free: 77.64 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