Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/2.021e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.372, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.72/20.09, allocations: 6.536 GB / 6.886 GB, free: 30.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/20.09, allocations: 81.7 kB / 6.886 GB, free: 30.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674/21.77, allocations: 243.4 MB / 7.124 GB, free: 67.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/21.77, allocations: 0 / 7.124 GB, free: 67.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/21.77, allocations: 7.219 kB / 7.124 GB, free: 67.65 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009237/21.77, allocations: 1.899 MB / 7.125 GB, free: 66.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/21.77, allocations: 11.22 kB / 7.125 GB, free: 66.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/21.78, allocations: 33.11 kB / 7.126 GB, free: 66.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/21.78, allocations: 256.8 kB / 7.126 GB, free: 66.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/21.78, allocations: 14.66 kB / 7.126 GB, free: 66.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/21.78, allocations: 14.94 kB / 7.126 GB, free: 66.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001303/21.78, allocations: 0.8183 MB / 7.127 GB, free: 66.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/21.78, allocations: 450.6 kB / 7.127 GB, free: 66.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/21.78, allocations: 7.531 kB / 7.127 GB, free: 66.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/21.78, allocations: 3.828 kB / 7.127 GB, free: 66.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/21.78, allocations: 21.28 kB / 7.127 GB, free: 66.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/21.78, allocations: 3.868 MB / 7.131 GB, free: 63.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/21.78, allocations: 110.7 kB / 7.131 GB, free: 63.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/21.78, allocations: 51 kB / 7.131 GB, free: 63.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/21.8, allocations: 11.69 MB / 7.142 GB, free: 51.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/21.8, allocations: 114.6 kB / 7.143 GB, free: 51.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 3.166e-06/21.8, allocations: 0 / 7.143 GB, free: 51.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.00186/21.8, allocations: 310.4 kB / 7.143 GB, free: 51.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/21.8, allocations: 51.41 kB / 7.143 GB, free: 51.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/21.8, allocations: 226.6 kB / 7.143 GB, free: 51.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/21.8, allocations: 29.36 kB / 7.143 GB, free: 51.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/21.8, allocations: 315.6 kB / 7.143 GB, free: 50.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/21.8, allocations: 66.67 kB / 7.143 GB, free: 50.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/21.8, allocations: 0 / 7.143 GB, free: 50.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/21.8, allocations: 336.4 kB / 7.144 GB, free: 50.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/21.8, allocations: 71.14 kB / 7.144 GB, free: 50.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/21.8, allocations: 339.8 kB / 7.144 GB, free: 50.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/21.81, allocations: 234.1 kB / 7.144 GB, free: 50.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/21.81, allocations: 3.969 kB / 7.144 GB, free: 50.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002335/21.81, allocations: 0.5109 MB / 7.145 GB, free: 50.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/21.81, allocations: 6.375 kB / 7.145 GB, free: 50.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/21.81, allocations: 16.17 kB / 7.145 GB, free: 50.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/21.81, allocations: 11.03 kB / 7.145 GB, free: 50.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/21.81, allocations: 175 kB / 7.145 GB, free: 50.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007077/21.81, allocations: 1.202 MB / 7.146 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/21.81, allocations: 24.02 kB / 7.146 GB, free: 48.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/21.81, allocations: 48.58 kB / 7.146 GB, free: 48.9 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002132/21.81, allocations: 138.6 kB / 7.146 GB, free: 48.79 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007284/21.81, allocations: 153 kB / 7.147 GB, free: 48.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/21.81, allocations: 30.86 kB / 7.147 GB, free: 48.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/21.81, allocations: 220.4 kB / 7.147 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/21.81, allocations: 7.75 kB / 7.147 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/21.81, allocations: 3.656 kB / 7.147 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/21.81, allocations: 0 / 7.147 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/21.81, allocations: 0.4991 MB / 7.147 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/21.81, allocations: 0 / 7.147 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/21.81, allocations: 82.59 kB / 7.147 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/21.81, allocations: 6.734 kB / 7.147 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/21.81, allocations: 3.312 kB / 7.147 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000606/21.81, allocations: 1.187 MB / 7.149 GB, free: 47.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/21.81, allocations: 3.344 kB / 7.149 GB, free: 47.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/21.82, allocations: 286.5 kB / 7.149 GB, free: 47.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/21.82, allocations: 132.6 kB / 7.149 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/21.82, allocations: 2.938 kB / 7.149 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/21.82, allocations: 11.14 kB / 7.149 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/21.82, allocations: 14.8 kB / 7.149 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/21.82, allocations: 9.344 kB / 7.149 GB, free: 46.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001905/21.82, allocations: 160.7 kB / 7.149 GB, free: 46.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.452e-06/21.82, allocations: 112 / 7.149 GB, free: 46.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009611/21.83, allocations: 1.916 MB / 7.151 GB, free: 46.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01823/21.84, allocations: 3.548 MB / 7.155 GB, free: 45.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/21.85, allocations: 270.1 kB / 7.155 GB, free: 45.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/21.85, allocations: 0 / 7.155 GB, free: 45.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/21.85, allocations: 102.1 kB / 7.155 GB, free: 45.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/21.85, allocations: 42.88 kB / 7.155 GB, free: 45.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.013/22.86, allocations: 228.4 MB / 7.378 GB, free: 62.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/22.86, allocations: 0.7518 MB / 7.379 GB, free: 61.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/22.86, allocations: 108.6 kB / 7.379 GB, free: 61.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/22.86, allocations: 0 / 7.379 GB, free: 61.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.14/27, allocations: 49.17 MB / 7.427 GB, free: 39.09 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat