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.505/2.505, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.928e-05, allocations: 0 / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4694, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.09/8.56, allocations: 2.587 GB / 2.943 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/8.56, allocations: 86.05 kB / 2.943 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.374/9.935, allocations: 290.3 MB / 3.227 GB, free: 77.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/9.935, allocations: 3.406 kB / 3.227 GB, free: 77.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.968e-05/9.935, allocations: 11.84 kB / 3.227 GB, free: 77.97 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.005514/9.94, allocations: 1.212 MB / 3.228 GB, free: 77.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/9.94, allocations: 11.62 kB / 3.228 GB, free: 77.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.344e-05/9.94, allocations: 65.89 kB / 3.228 GB, free: 77.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/9.942, allocations: 113.9 kB / 3.228 GB, free: 77.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/9.943, allocations: 352 kB / 3.228 GB, free: 76.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/9.943, allocations: 24.62 kB / 3.229 GB, free: 76.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/9.943, allocations: 31.64 kB / 3.229 GB, free: 76.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/9.944, allocations: 436.3 kB / 3.229 GB, free: 76.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/9.944, allocations: 7.391 kB / 3.229 GB, free: 76.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/9.944, allocations: 11.97 kB / 3.229 GB, free: 76.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/9.944, allocations: 3.969 kB / 3.229 GB, free: 76.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/9.945, allocations: 331.1 kB / 3.229 GB, free: 76.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/9.948, allocations: 2.253 MB / 3.232 GB, free: 74.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/9.949, allocations: 215.7 kB / 3.232 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/9.949, allocations: 50.2 kB / 3.232 GB, free: 74.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/9.95, allocations: 480.6 kB / 3.232 GB, free: 73.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/9.95, allocations: 41.09 kB / 3.232 GB, free: 73.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/9.95, allocations: 0 / 3.232 GB, free: 73.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.001451/9.951, allocations: 334 kB / 3.233 GB, free: 73.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/9.952, allocations: 106.7 kB / 3.233 GB, free: 73.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/9.952, allocations: 246.9 kB / 3.233 GB, free: 73.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/9.952, allocations: 25.7 kB / 3.233 GB, free: 73.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/9.952, allocations: 276.4 kB / 3.233 GB, free: 73.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/9.952, allocations: 46.23 kB / 3.233 GB, free: 73.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/9.952, allocations: 4 kB / 3.233 GB, free: 73.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/9.952, allocations: 326.2 kB / 3.234 GB, free: 72.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/9.952, allocations: 43.75 kB / 3.234 GB, free: 72.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/9.953, allocations: 186.7 kB / 3.234 GB, free: 72.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/9.953, allocations: 87.45 kB / 3.234 GB, free: 72.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/9.953, allocations: 0 / 3.234 GB, free: 72.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005569/9.953, allocations: 249.8 kB / 3.234 GB, free: 72.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/9.953, allocations: 7.875 kB / 3.234 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/9.954, allocations: 3.812 kB / 3.234 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/9.954, allocations: 7.656 kB / 3.234 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/9.954, allocations: 72.92 kB / 3.234 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/9.954, allocations: 7.906 kB / 3.234 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/9.954, allocations: 53.89 kB / 3.234 GB, free: 72.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/9.955, allocations: 15.84 kB / 3.234 GB, free: 72.45 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.000103/9.955, allocations: 132.3 kB / 3.234 GB, free: 72.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/9.955, allocations: 27.31 kB / 3.234 GB, free: 72.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009583/9.956, allocations: 0.6328 MB / 3.235 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/9.956, allocations: 2.938 kB / 3.235 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/9.956, allocations: 3.938 kB / 3.235 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/9.956, allocations: 3.75 kB / 3.235 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/9.956, allocations: 480.8 kB / 3.235 GB, free: 71.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/9.956, allocations: 0 / 3.235 GB, free: 71.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/9.957, allocations: 54.67 kB / 3.236 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/9.957, allocations: 0 / 3.236 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/9.957, allocations: 7.969 kB / 3.236 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/9.957, allocations: 0 / 3.236 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/9.957, allocations: 0 / 3.236 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/9.957, allocations: 383.7 kB / 3.236 GB, free: 71.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/9.957, allocations: 147.6 kB / 3.236 GB, free: 71.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/9.958, allocations: 4 kB / 3.236 GB, free: 71.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/9.958, allocations: 27 kB / 3.236 GB, free: 71.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/9.958, allocations: 18.61 kB / 3.236 GB, free: 71.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/9.958, allocations: 7.75 kB / 3.236 GB, free: 71.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003005/9.958, allocations: 221.3 kB / 3.236 GB, free: 71.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/9.958, allocations: 3.781 kB / 3.236 GB, free: 71.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005072/9.963, allocations: 0.8608 MB / 3.237 GB, free: 70.95 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.01004/9.974, allocations: 2.101 MB / 3.239 GB, free: 69.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/9.974, allocations: 211.1 kB / 3.239 GB, free: 69.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/9.974, allocations: 3.25 kB / 3.239 GB, free: 69.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/9.974, allocations: 122.3 kB / 3.24 GB, free: 69.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/9.976, allocations: 121.7 kB / 3.24 GB, free: 69.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/10.17, allocations: 55.1 MB / 3.293 GB, free: 22.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/10.17, allocations: 0.8347 MB / 3.294 GB, free: 22.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/10.17, allocations: 139.4 kB / 3.294 GB, free: 21.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/10.17, allocations: 0 / 3.294 GB, free: 21.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.807/13.97, allocations: 23.61 MB / 3.317 GB, free: 74.84 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