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.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004822, allocations: 11.94 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09778, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.981/2.079, allocations: 0.6361 GB / 0.9374 GB, free: 45.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/2.079, allocations: 79.89 kB / 0.9375 GB, free: 45.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.908/3.987, allocations: 473.6 MB / 1.4 GB, free: 83.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/3.987, allocations: 8 kB / 1.4 GB, free: 83.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.311e-05/3.987, allocations: 4 kB / 1.4 GB, free: 83.17 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001682/3.989, allocations: 0.7344 MB / 1.401 GB, free: 82.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/3.989, allocations: 8.031 kB / 1.401 GB, free: 82.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/3.989, allocations: 68.3 kB / 1.401 GB, free: 82.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/3.989, allocations: 59.03 kB / 1.401 GB, free: 82.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/3.99, allocations: 288.8 kB / 1.401 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/3.99, allocations: 20.56 kB / 1.401 GB, free: 82.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/3.99, allocations: 32 kB / 1.401 GB, free: 81.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/3.991, allocations: 328.3 kB / 1.402 GB, free: 81.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/3.991, allocations: 0 / 1.402 GB, free: 81.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/3.991, allocations: 16 kB / 1.402 GB, free: 81.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/3.991, allocations: 8 kB / 1.402 GB, free: 81.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/3.991, allocations: 215.9 kB / 1.402 GB, free: 81.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/4.007, allocations: 5.459 MB / 1.407 GB, free: 76.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/4.008, allocations: 177 kB / 1.407 GB, free: 76.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01322/4.021, allocations: 3.444 MB / 1.411 GB, free: 73.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/4.021, allocations: 38.75 kB / 1.411 GB, free: 73.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.217e-06/4.021, allocations: 6.938 kB / 1.411 GB, free: 73.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.008231/4.029, allocations: 1.38 MB / 1.412 GB, free: 71.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/4.029, allocations: 51.41 kB / 1.412 GB, free: 71.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/4.03, allocations: 246.8 kB / 1.412 GB, free: 71.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/4.03, allocations: 29.7 kB / 1.412 GB, free: 71.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/4.03, allocations: 244.5 kB / 1.413 GB, free: 71.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/4.03, allocations: 96.94 kB / 1.413 GB, free: 71.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/4.03, allocations: 4 kB / 1.413 GB, free: 71.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/4.03, allocations: 326.5 kB / 1.413 GB, free: 70.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/4.03, allocations: 90.8 kB / 1.413 GB, free: 70.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/4.03, allocations: 183.7 kB / 1.413 GB, free: 70.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/4.031, allocations: 119.5 kB / 1.413 GB, free: 70.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/4.031, allocations: 0 / 1.413 GB, free: 70.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009722/4.032, allocations: 378.1 kB / 1.414 GB, free: 70.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/4.032, allocations: 4 kB / 1.414 GB, free: 70.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/4.032, allocations: 4 kB / 1.414 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007337/4.039, allocations: 449.8 kB / 1.414 GB, free: 69.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/4.04, allocations: 67.53 kB / 1.414 GB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/4.041, allocations: 1.888 MB / 1.416 GB, free: 67.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/4.042, allocations: 16 kB / 1.416 GB, free: 67.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/4.042, allocations: 19.84 kB / 1.416 GB, free: 67.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002382/4.042, allocations: 153.8 kB / 1.416 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/4.042, allocations: 31.58 kB / 1.416 GB, free: 67.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/4.043, allocations: 492 kB / 1.417 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/4.043, allocations: 7.797 kB / 1.417 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/4.043, allocations: 4 kB / 1.417 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007431/4.044, allocations: 0.7191 MB / 1.417 GB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/4.046, allocations: 0.9537 MB / 1.418 GB, free: 65.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/4.046, allocations: 5.812 kB / 1.418 GB, free: 65.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/4.046, allocations: 43.92 kB / 1.418 GB, free: 65.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/4.049, allocations: 304.4 kB / 1.419 GB, free: 64.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/4.049, allocations: 11.94 kB / 1.419 GB, free: 64.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005768/4.049, allocations: 0.646 MB / 1.419 GB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/4.049, allocations: 0 / 1.419 GB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/4.051, allocations: 0.7375 MB / 1.42 GB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/4.051, allocations: 96.86 kB / 1.42 GB, free: 63.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/4.051, allocations: 15.94 kB / 1.42 GB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/4.051, allocations: 19.84 kB / 1.42 GB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/4.051, allocations: 23.91 kB / 1.42 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/4.051, allocations: 12.06 kB / 1.42 GB, free: 63.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002423/4.051, allocations: 186 kB / 1.42 GB, free: 63.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/4.051, allocations: 0 / 1.42 GB, free: 63.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001145/4.053, allocations: 207.9 kB / 1.421 GB, free: 62.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003028/4.056, allocations: 1.702 MB / 1.422 GB, free: 61.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/4.057, allocations: 450.6 kB / 1.423 GB, free: 60.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/4.057, allocations: 0 / 1.423 GB, free: 60.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008382/4.058, allocations: 232.5 kB / 1.423 GB, free: 60.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/4.059, allocations: 163 kB / 1.423 GB, free: 60.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/4.063, allocations: 3.906 MB / 1.427 GB, free: 56.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/4.064, allocations: 0.7841 MB / 1.428 GB, free: 55.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/4.064, allocations: 107.4 kB / 1.428 GB, free: 55.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/4.064, allocations: 0 / 1.428 GB, free: 55.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.952/7.016, allocations: 10.63 MB / 1.438 GB, free: 44.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat