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.ReferenceAir.Inverse_sh_T.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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 12 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08643, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.057, allocations: 0.6362 GB / 0.902 GB, free: 90.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/2.057, allocations: 75.28 kB / 0.902 GB, free: 90.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.537/2.594, allocations: 117.2 MB / 1.016 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/2.594, allocations: 4.344 kB / 1.016 GB, free: 112.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/2.594, allocations: 0 / 1.016 GB, free: 112.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001462/2.596, allocations: 0.5833 MB / 1.017 GB, free: 112.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/2.596, allocations: 7.562 kB / 1.017 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/2.596, allocations: 36.62 kB / 1.017 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/2.596, allocations: 11.44 kB / 1.017 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/2.596, allocations: 177.4 kB / 1.017 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/2.596, allocations: 3.812 kB / 1.017 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/2.596, allocations: 5.641 kB / 1.017 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/2.596, allocations: 74.38 kB / 1.017 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/2.596, allocations: 3.891 kB / 1.017 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/2.596, allocations: 0 / 1.017 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/2.596, allocations: 3.938 kB / 1.017 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/2.597, allocations: 24.84 kB / 1.017 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/2.597, allocations: 172.1 kB / 1.018 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/2.597, allocations: 92.05 kB / 1.018 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1452/2.743, allocations: 35.41 MB / 1.052 GB, free: 90.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/2.743, allocations: 40.39 kB / 1.052 GB, free: 89.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.677e-06/2.743, allocations: 4 kB / 1.052 GB, free: 89.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007879/2.743, allocations: 87.8 kB / 1.052 GB, free: 89.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/2.744, allocations: 81.11 kB / 1.052 GB, free: 89.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/2.744, allocations: 108.6 kB / 1.052 GB, free: 89.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/2.744, allocations: 25.7 kB / 1.053 GB, free: 89.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/2.744, allocations: 151.2 kB / 1.053 GB, free: 89.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/2.744, allocations: 23.5 kB / 1.053 GB, free: 89.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/2.744, allocations: 4 kB / 1.053 GB, free: 89.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/2.744, allocations: 318.8 kB / 1.053 GB, free: 89.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/2.744, allocations: 11.89 kB / 1.053 GB, free: 89.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/2.744, allocations: 32.17 kB / 1.053 GB, free: 89.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/2.745, allocations: 22.61 kB / 1.053 GB, free: 89.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.745, allocations: 0 / 1.053 GB, free: 89.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004526/2.745, allocations: 70.88 kB / 1.053 GB, free: 89.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/2.745, allocations: 6.031 kB / 1.053 GB, free: 89.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/2.745, allocations: 3.953 kB / 1.053 GB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/2.745, allocations: 4 kB / 1.053 GB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/2.745, allocations: 15.27 kB / 1.053 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/2.745, allocations: 1.531 kB / 1.053 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/2.746, allocations: 15.8 kB / 1.053 GB, free: 89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/2.746, allocations: 0 / 1.053 GB, free: 89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 9.299e-05/2.746, allocations: 113.8 kB / 1.053 GB, free: 88.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/2.746, allocations: 4 kB / 1.053 GB, free: 88.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/2.746, allocations: 116.5 kB / 1.053 GB, free: 88.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/2.746, allocations: 3.953 kB / 1.053 GB, free: 88.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/2.746, allocations: 8 kB / 1.053 GB, free: 88.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/2.746, allocations: 0 / 1.053 GB, free: 88.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/2.747, allocations: 168.3 kB / 1.054 GB, free: 88.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/2.747, allocations: 0 / 1.054 GB, free: 88.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/2.747, allocations: 15.66 kB / 1.054 GB, free: 88.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/2.747, allocations: 0 / 1.054 GB, free: 88.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/2.747, allocations: 3.656 kB / 1.054 GB, free: 88.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/2.747, allocations: 0 / 1.054 GB, free: 88.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.747, allocations: 7.953 kB / 1.054 GB, free: 88.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/2.747, allocations: 116.6 kB / 1.054 GB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/2.747, allocations: 96.56 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/2.748, allocations: 2.391 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/2.748, allocations: 11.56 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/2.748, allocations: 3.797 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/2.748, allocations: 15.44 kB / 1.054 GB, free: 88.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.091e-05/2.748, allocations: 90.8 kB / 1.054 GB, free: 88.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/2.748, allocations: 0 / 1.054 GB, free: 88.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001795/2.75, allocations: 326.5 kB / 1.054 GB, free: 87.89 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.002952/2.753, allocations: 1.339 MB / 1.056 GB, free: 86.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/2.753, allocations: 43.84 kB / 1.056 GB, free: 86.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.753, allocations: 7.938 kB / 1.056 GB, free: 86.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/2.753, allocations: 19.89 kB / 1.056 GB, free: 86.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/2.754, allocations: 15.52 kB / 1.056 GB, free: 86.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/2.755, allocations: 0.8467 MB / 1.056 GB, free: 85.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/2.755, allocations: 0.688 MB / 1.057 GB, free: 85.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/2.756, allocations: 26.42 kB / 1.057 GB, free: 85.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/2.756, allocations: 4 kB / 1.057 GB, free: 85.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.583/5.339, allocations: 7.027 MB / 1.064 GB, free: 78.47 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat