Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005892/0.0005895, allocations: 8 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1059, allocations: 48.71 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.478/7.584, allocations: 2.477 GB / 2.8 GB, free: 40.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/7.585, allocations: 91.5 kB / 2.8 GB, free: 40.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622/9.207, allocations: 284.3 MB / 3.078 GB, free: 44.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/9.207, allocations: 3.938 kB / 3.078 GB, free: 44.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/9.207, allocations: 14.8 kB / 3.078 GB, free: 44.74 MB / 426.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.005869/9.213, allocations: 1.226 MB / 3.079 GB, free: 44.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/9.213, allocations: 10.81 kB / 3.079 GB, free: 44.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/9.213, allocations: 61.84 kB / 3.079 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/9.214, allocations: 122 kB / 3.079 GB, free: 43.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/9.215, allocations: 347.4 kB / 3.08 GB, free: 43.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/9.215, allocations: 23.5 kB / 3.08 GB, free: 43.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/9.215, allocations: 27.12 kB / 3.08 GB, free: 43.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/9.217, allocations: 461.9 kB / 3.08 GB, free: 43.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/9.217, allocations: 3.938 kB / 3.08 GB, free: 43.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/9.217, allocations: 15.16 kB / 3.08 GB, free: 43.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/9.217, allocations: 7.094 kB / 3.08 GB, free: 43.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/9.219, allocations: 394.8 kB / 3.08 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/9.222, allocations: 2.249 MB / 3.083 GB, free: 41.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/9.223, allocations: 256.7 kB / 3.083 GB, free: 41.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/9.224, allocations: 478.9 kB / 3.083 GB, free: 40.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/9.224, allocations: 38.52 kB / 3.083 GB, free: 40.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.555e-06/9.224, allocations: 0 / 3.083 GB, free: 40.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.002148/9.226, allocations: 436.2 kB / 3.084 GB, free: 40.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/9.226, allocations: 102.8 kB / 3.084 GB, free: 40.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/9.226, allocations: 245.9 kB / 3.084 GB, free: 40.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/9.226, allocations: 33.23 kB / 3.084 GB, free: 40.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/9.226, allocations: 271.2 kB / 3.084 GB, free: 40.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/9.227, allocations: 53.05 kB / 3.084 GB, free: 40.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/9.227, allocations: 4 kB / 3.084 GB, free: 40.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/9.227, allocations: 326.1 kB / 3.085 GB, free: 39.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/9.227, allocations: 77.41 kB / 3.085 GB, free: 39.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/9.227, allocations: 223.8 kB / 3.085 GB, free: 39.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/9.228, allocations: 104.3 kB / 3.085 GB, free: 39.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/9.228, allocations: 3.719 kB / 3.085 GB, free: 39.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009954/9.229, allocations: 317.9 kB / 3.085 GB, free: 39.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/9.229, allocations: 3.969 kB / 3.085 GB, free: 39.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/9.229, allocations: 7.922 kB / 3.085 GB, free: 39.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/9.229, allocations: 7.938 kB / 3.086 GB, free: 39.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/9.229, allocations: 77.45 kB / 3.086 GB, free: 39.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/9.229, allocations: 11.88 kB / 3.086 GB, free: 39.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/9.23, allocations: 47.27 kB / 3.086 GB, free: 39.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/9.23, allocations: 11.91 kB / 3.086 GB, free: 39.35 MB / 426.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.0002208/9.23, allocations: 152.9 kB / 3.086 GB, free: 39.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/9.23, allocations: 31.3 kB / 3.086 GB, free: 39.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/9.232, allocations: 0.6879 MB / 3.086 GB, free: 38.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/9.232, allocations: 15.38 kB / 3.087 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/9.232, allocations: 0 / 3.087 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/9.232, allocations: 7.656 kB / 3.087 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/9.232, allocations: 472.5 kB / 3.087 GB, free: 38.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/9.232, allocations: 3.938 kB / 3.087 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/9.233, allocations: 48.45 kB / 3.087 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/9.233, allocations: 0 / 3.087 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/9.233, allocations: 6.094 kB / 3.087 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/9.233, allocations: 3.797 kB / 3.087 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/9.233, allocations: 3.953 kB / 3.087 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/9.234, allocations: 445.6 kB / 3.087 GB, free: 38.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/9.234, allocations: 158.7 kB / 3.088 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/9.234, allocations: 7.875 kB / 3.088 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/9.234, allocations: 26.97 kB / 3.088 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/9.234, allocations: 15.11 kB / 3.088 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/9.234, allocations: 3.938 kB / 3.088 GB, free: 38.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002964/9.235, allocations: 237.2 kB / 3.088 GB, free: 38.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.235, allocations: 0 / 3.088 GB, free: 38.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004662/9.239, allocations: 0.8558 MB / 3.089 GB, free: 37.83 MB / 426.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.01014/9.249, allocations: 2.166 MB / 3.091 GB, free: 36.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009891/9.251, allocations: 271.2 kB / 3.091 GB, free: 36.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/9.251, allocations: 0 / 3.091 GB, free: 36.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/9.251, allocations: 164.6 kB / 3.091 GB, free: 36.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/9.252, allocations: 120.1 kB / 3.091 GB, free: 36.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1961/9.448, allocations: 59.43 MB / 3.149 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/9.449, allocations: 0.8241 MB / 3.15 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/9.449, allocations: 134.8 kB / 3.15 GB, free: 10.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/9.449, allocations: 4 kB / 3.15 GB, free: 10.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.322/12.77, allocations: 23.52 MB / 3.173 GB, free: 4.109 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat