Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003693, allocations: 11.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.0995, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.548, allocations: 438.1 MB / 0.7291 GB, free: 99.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.548, allocations: 68.72 kB / 0.7292 GB, free: 99.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08571/1.634, allocations: 24.91 MB / 0.7535 GB, free: 78.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.634, allocations: 3.938 kB / 0.7535 GB, free: 78.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/1.634, allocations: 0 / 0.7535 GB, free: 78.21 MB / 410.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.001106/1.635, allocations: 441.6 kB / 0.7539 GB, free: 77.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.635, allocations: 12.03 kB / 0.754 GB, free: 77.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/1.635, allocations: 41.98 kB / 0.754 GB, free: 77.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009882/1.645, allocations: 458.3 kB / 0.7544 GB, free: 77.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.645, allocations: 163 kB / 0.7546 GB, free: 77.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/1.645, allocations: 7.312 kB / 0.7546 GB, free: 77.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/1.645, allocations: 7.562 kB / 0.7546 GB, free: 77.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/1.647, allocations: 300.8 kB / 0.7549 GB, free: 76.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.647, allocations: 3.938 kB / 0.7549 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.167e-05/1.647, allocations: 11.2 kB / 0.7549 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.647, allocations: 0 / 0.7549 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.648, allocations: 272.5 kB / 0.7552 GB, free: 76.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/1.65, allocations: 420.9 kB / 0.7556 GB, free: 76.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.651, allocations: 225 kB / 0.7558 GB, free: 76.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/1.651, allocations: 4 kB / 0.7558 GB, free: 76.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/1.651, allocations: 30.56 kB / 0.7558 GB, free: 75.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/1.651, allocations: 0 / 0.7558 GB, free: 75.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002907/1.654, allocations: 421.4 kB / 0.7562 GB, free: 75.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.654, allocations: 58.8 kB / 0.7563 GB, free: 75.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/1.654, allocations: 101 kB / 0.7564 GB, free: 75.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/1.655, allocations: 29.27 kB / 0.7564 GB, free: 75.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/1.655, allocations: 162.3 kB / 0.7565 GB, free: 75.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/1.655, allocations: 58.55 kB / 0.7566 GB, free: 75.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.655, allocations: 3.5 kB / 0.7566 GB, free: 75.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.031e-05/1.655, allocations: 322 kB / 0.7569 GB, free: 74.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/1.655, allocations: 80.88 kB / 0.757 GB, free: 74.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/1.656, allocations: 121.5 kB / 0.7571 GB, free: 74.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/1.656, allocations: 84.72 kB / 0.7572 GB, free: 74.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.656, allocations: 0 / 0.7572 GB, free: 74.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00109/1.657, allocations: 237.8 kB / 0.7574 GB, free: 74.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.657, allocations: 8 kB / 0.7574 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.657, allocations: 0 / 0.7574 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.657, allocations: 8.125 kB / 0.7574 GB, free: 74.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/1.658, allocations: 51.89 kB / 0.7575 GB, free: 74.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.658, allocations: 0 / 0.7575 GB, free: 74.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/1.659, allocations: 19.44 kB / 0.7575 GB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/1.659, allocations: 15.73 kB / 0.7575 GB, free: 74.44 MB / 410.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.0001266/1.659, allocations: 117.3 kB / 0.7576 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/1.659, allocations: 15.16 kB / 0.7576 GB, free: 74.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.66, allocations: 279.9 kB / 0.7579 GB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/1.66, allocations: 0 / 0.7579 GB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.66, allocations: 0 / 0.7579 GB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.66, allocations: 3.938 kB / 0.7579 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.662, allocations: 0.567 MB / 0.7585 GB, free: 73.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.662, allocations: 3.984 kB / 0.7585 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/1.663, allocations: 46.11 kB / 0.7585 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.663, allocations: 0 / 0.7585 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/1.663, allocations: 14.23 kB / 0.7585 GB, free: 73.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.663, allocations: 0 / 0.7585 GB, free: 73.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.663, allocations: 4 kB / 0.7585 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.664, allocations: 356.8 kB / 0.7589 GB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/1.664, allocations: 85.09 kB / 0.759 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/1.664, allocations: 3.688 kB / 0.759 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/1.664, allocations: 15.98 kB / 0.759 GB, free: 73.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/1.664, allocations: 15.67 kB / 0.759 GB, free: 73.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/1.665, allocations: 11.94 kB / 0.759 GB, free: 73.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.726e-05/1.665, allocations: 90.88 kB / 0.7591 GB, free: 72.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.665, allocations: 0 / 0.7591 GB, free: 72.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00061/1.665, allocations: 82.23 kB / 0.7592 GB, free: 72.87 MB / 410.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.002056/1.667, allocations: 1.43 MB / 0.7606 GB, free: 71.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/1.668, allocations: 192.5 kB / 0.7607 GB, free: 71.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.668, allocations: 4 kB / 0.7607 GB, free: 71.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/1.669, allocations: 99.19 kB / 0.7608 GB, free: 71.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/1.669, allocations: 38 kB / 0.7609 GB, free: 71.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.671, allocations: 392.5 kB / 0.7612 GB, free: 70.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/1.671, allocations: 0.7013 MB / 0.7619 GB, free: 70.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/1.671, allocations: 39.09 kB / 0.762 GB, free: 70.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/1.671, allocations: 4 kB / 0.762 GB, free: 70.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.5/4.172, allocations: 5.156 MB / 0.767 GB, free: 64.89 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat