Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.2 MB / 186.1 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006002/0.0006008, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1275, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.013/2.141, allocations: 0.6308 GB / 0.8966 GB, free: 90.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/2.141, allocations: 79.08 kB / 0.8967 GB, free: 89.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843/3.984, allocations: 473.6 MB / 1.359 GB, free: 67.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.005e-06/3.984, allocations: 0 / 1.359 GB, free: 67.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/3.984, allocations: 4 kB / 1.359 GB, free: 67.11 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001741/3.986, allocations: 0.7405 MB / 1.36 GB, free: 66.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/3.986, allocations: 8.031 kB / 1.36 GB, free: 66.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/3.986, allocations: 66.06 kB / 1.36 GB, free: 66.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005632/3.987, allocations: 54.94 kB / 1.36 GB, free: 66.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/3.987, allocations: 289.3 kB / 1.36 GB, free: 65.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/3.987, allocations: 24.5 kB / 1.36 GB, free: 65.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/3.987, allocations: 27.95 kB / 1.36 GB, free: 65.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/3.988, allocations: 335 kB / 1.361 GB, free: 65.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/3.988, allocations: 0 / 1.361 GB, free: 65.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/3.988, allocations: 12 kB / 1.361 GB, free: 65.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/3.988, allocations: 8 kB / 1.361 GB, free: 65.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/3.988, allocations: 208.5 kB / 1.361 GB, free: 65.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/4.005, allocations: 5.474 MB / 1.366 GB, free: 60.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/4.005, allocations: 185.7 kB / 1.366 GB, free: 60.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/4.02, allocations: 3.443 MB / 1.37 GB, free: 56.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/4.02, allocations: 38.73 kB / 1.37 GB, free: 56.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.075e-06/4.02, allocations: 0 / 1.37 GB, free: 56.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.008276/4.028, allocations: 1.377 MB / 1.371 GB, free: 55.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/4.028, allocations: 51.41 kB / 1.371 GB, free: 55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/4.029, allocations: 233.7 kB / 1.371 GB, free: 54.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/4.029, allocations: 29.7 kB / 1.371 GB, free: 54.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/4.029, allocations: 193.1 kB / 1.372 GB, free: 54.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/4.029, allocations: 90.73 kB / 1.372 GB, free: 54.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/4.029, allocations: 4 kB / 1.372 GB, free: 54.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/4.029, allocations: 342.8 kB / 1.372 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/4.029, allocations: 91.95 kB / 1.372 GB, free: 54.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/4.029, allocations: 182.8 kB / 1.372 GB, free: 53.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/4.03, allocations: 127.9 kB / 1.372 GB, free: 53.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/4.03, allocations: 0 / 1.372 GB, free: 53.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009692/4.031, allocations: 386.7 kB / 1.373 GB, free: 53.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/4.031, allocations: 8 kB / 1.373 GB, free: 53.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/4.031, allocations: 4 kB / 1.373 GB, free: 53.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007445/4.038, allocations: 449.6 kB / 1.373 GB, free: 52.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/4.039, allocations: 71.84 kB / 1.373 GB, free: 52.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/4.04, allocations: 1.888 MB / 1.375 GB, free: 50.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/4.041, allocations: 23.89 kB / 1.375 GB, free: 50.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/4.041, allocations: 16 kB / 1.375 GB, free: 50.68 MB / 362.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.0002417/4.041, allocations: 161.7 kB / 1.375 GB, free: 50.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/4.041, allocations: 27.72 kB / 1.375 GB, free: 50.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/4.042, allocations: 487.9 kB / 1.376 GB, free: 49.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/4.042, allocations: 11.95 kB / 1.376 GB, free: 49.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/4.042, allocations: 0 / 1.376 GB, free: 49.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007787/4.043, allocations: 0.7171 MB / 1.377 GB, free: 49.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/4.045, allocations: 0.9491 MB / 1.377 GB, free: 48.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/4.045, allocations: 0 / 1.377 GB, free: 48.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/4.045, allocations: 47.91 kB / 1.378 GB, free: 48.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/4.048, allocations: 304.4 kB / 1.378 GB, free: 47.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/4.048, allocations: 4 kB / 1.378 GB, free: 47.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005849/4.049, allocations: 0.6421 MB / 1.378 GB, free: 47.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/4.049, allocations: 3.688 kB / 1.378 GB, free: 47.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/4.05, allocations: 0.7446 MB / 1.379 GB, free: 46.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/4.05, allocations: 108.7 kB / 1.379 GB, free: 46.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/4.05, allocations: 4 kB / 1.379 GB, free: 46.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/4.051, allocations: 20 kB / 1.379 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/4.051, allocations: 23.92 kB / 1.379 GB, free: 46.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/4.051, allocations: 8 kB / 1.379 GB, free: 46.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002421/4.051, allocations: 186 kB / 1.38 GB, free: 46 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/4.051, allocations: 0 / 1.38 GB, free: 46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001208/4.052, allocations: 207.9 kB / 1.38 GB, free: 45.8 MB / 362.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.003239/4.056, allocations: 1.706 MB / 1.381 GB, free: 44.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/4.057, allocations: 438.5 kB / 1.382 GB, free: 43.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/4.057, allocations: 0.75 kB / 1.382 GB, free: 43.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008597/4.058, allocations: 239.8 kB / 1.382 GB, free: 43.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/4.059, allocations: 172 kB / 1.382 GB, free: 43.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/4.064, allocations: 3.868 MB / 1.386 GB, free: 39.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/4.064, allocations: 0.7802 MB / 1.387 GB, free: 38.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004276/4.064, allocations: 53.94 kB / 1.387 GB, free: 38.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/4.065, allocations: 103.4 kB / 1.387 GB, free: 38.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/4.065, allocations: 0 / 1.387 GB, free: 38.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/4.121, allocations: 14.53 MB / 1.401 GB, free: 23.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/4.122, allocations: 213.9 kB / 1.401 GB, free: 23.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/7.522, allocations: 0 / 1.401 GB, free: 23.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat