Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.IdealGasH2O.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.1 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 8 kB / 233.3 MB, free: 0.8359 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.08949, allocations: 38.77 MB / 272.1 MB, free: 9.992 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.355, allocations: 432.4 MB / 0.6879 GB, free: 140 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.356, allocations: 63.97 kB / 0.688 GB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3126/1.668, allocations: 24.91 MB / 0.7123 GB, free: 131.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.668, allocations: 0 / 0.7123 GB, free: 131.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/1.668, allocations: 0 / 0.7123 GB, free: 131.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001075/1.67, allocations: 447.1 kB / 0.7128 GB, free: 130.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.67, allocations: 8.031 kB / 0.7128 GB, free: 130.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/1.67, allocations: 38.56 kB / 0.7128 GB, free: 130.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009818/1.68, allocations: 463.7 kB / 0.7132 GB, free: 130.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/1.68, allocations: 171 kB / 0.7134 GB, free: 130 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.68, allocations: 4 kB / 0.7134 GB, free: 130 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.68, allocations: 8 kB / 0.7134 GB, free: 130 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.681, allocations: 297.8 kB / 0.7137 GB, free: 129.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.681, allocations: 7.984 kB / 0.7137 GB, free: 129.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/1.681, allocations: 0 / 0.7137 GB, free: 129.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.681, allocations: 0 / 0.7137 GB, free: 129.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/1.683, allocations: 275.7 kB / 0.714 GB, free: 129.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/1.684, allocations: 432.5 kB / 0.7144 GB, free: 128.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/1.686, allocations: 214.4 kB / 0.7146 GB, free: 128.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/1.686, allocations: 4 kB / 0.7146 GB, free: 128.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/1.686, allocations: 34.5 kB / 0.7146 GB, free: 128.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.216e-06/1.686, allocations: 4 kB / 0.7146 GB, free: 128.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002922/1.689, allocations: 426.8 kB / 0.715 GB, free: 128.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.689, allocations: 59.41 kB / 0.7151 GB, free: 128.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/1.689, allocations: 89 kB / 0.7152 GB, free: 128.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/1.689, allocations: 29.7 kB / 0.7152 GB, free: 128 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/1.689, allocations: 166.3 kB / 0.7154 GB, free: 127.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/1.689, allocations: 59.19 kB / 0.7154 GB, free: 127.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/1.689, allocations: 4 kB / 0.7154 GB, free: 127.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/1.689, allocations: 322.8 kB / 0.7157 GB, free: 127.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/1.69, allocations: 80.31 kB / 0.7158 GB, free: 127.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/1.69, allocations: 113 kB / 0.7159 GB, free: 127.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/1.691, allocations: 90.25 kB / 0.716 GB, free: 127.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.691, allocations: 0 / 0.716 GB, free: 127.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001098/1.692, allocations: 245.3 kB / 0.7162 GB, free: 126.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.692, allocations: 8 kB / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.692, allocations: 3.938 kB / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.692, allocations: 4 kB / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.693, allocations: 47.95 kB / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.693, allocations: 0 / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/1.693, allocations: 15.98 kB / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/1.693, allocations: 8 kB / 0.7163 GB, free: 126.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001282/1.693, allocations: 133.8 kB / 0.7165 GB, free: 126.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/1.693, allocations: 7.906 kB / 0.7165 GB, free: 126.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.695, allocations: 282 kB / 0.7167 GB, free: 126.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.695, allocations: 0 / 0.7167 GB, free: 126.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.695, allocations: 4 kB / 0.7167 GB, free: 126.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/1.695, allocations: 3.984 kB / 0.7167 GB, free: 126.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.697, allocations: 0.5778 MB / 0.7173 GB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.697, allocations: 0 / 0.7173 GB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/1.697, allocations: 47.89 kB / 0.7173 GB, free: 125.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.697, allocations: 4.062 kB / 0.7174 GB, free: 125.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/1.697, allocations: 4 kB / 0.7174 GB, free: 125.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.697, allocations: 7.953 kB / 0.7174 GB, free: 125.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.697, allocations: 0 / 0.7174 GB, free: 125.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.698, allocations: 346.9 kB / 0.7177 GB, free: 125.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/1.698, allocations: 92.97 kB / 0.7178 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/1.698, allocations: 0 / 0.7178 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/1.699, allocations: 19.98 kB / 0.7178 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/1.699, allocations: 19.86 kB / 0.7178 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/1.699, allocations: 15.98 kB / 0.7178 GB, free: 125.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/1.699, allocations: 79.28 kB / 0.7179 GB, free: 125.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/1.699, allocations: 4 kB / 0.7179 GB, free: 125.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006064/1.7, allocations: 71.98 kB / 0.718 GB, free: 125 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/1.702, allocations: 1.431 MB / 0.7194 GB, free: 123.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/1.703, allocations: 195.3 kB / 0.7196 GB, free: 123.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.703, allocations: 4 kB / 0.7196 GB, free: 123.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/1.703, allocations: 99.86 kB / 0.7197 GB, free: 123.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/1.704, allocations: 32.81 kB / 0.7197 GB, free: 123.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/1.705, allocations: 392 kB / 0.7201 GB, free: 122.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/1.705, allocations: 0.6935 MB / 0.7207 GB, free: 122.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.706, allocations: 51.39 kB / 0.7208 GB, free: 122 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/1.706, allocations: 0 / 0.7208 GB, free: 122 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.553/4.259, allocations: 5.132 MB / 0.7258 GB, free: 116.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat