Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 16 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3735, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.584, allocations: 418.2 MB / 0.732 GB, free: 68.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/1.585, allocations: 95.62 kB / 0.7321 GB, free: 68.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7993/2.384, allocations: 132.6 MB / 0.8616 GB, free: 121 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/2.384, allocations: 0 / 0.8616 GB, free: 121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.844e-05/2.384, allocations: 19.3 kB / 0.8616 GB, free: 121 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002903/2.387, allocations: 0.9828 MB / 0.8626 GB, free: 120.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/2.387, allocations: 7.875 kB / 0.8626 GB, free: 120.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/2.387, allocations: 105.9 kB / 0.8627 GB, free: 120.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/2.388, allocations: 85.95 kB / 0.8628 GB, free: 120.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/2.389, allocations: 0.5616 MB / 0.8633 GB, free: 119.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/2.389, allocations: 99.22 kB / 0.8634 GB, free: 119.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/2.39, allocations: 43.44 kB / 0.8634 GB, free: 119.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/2.391, allocations: 0.8107 MB / 0.8642 GB, free: 119 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/2.391, allocations: 3.906 kB / 0.8642 GB, free: 119 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/2.391, allocations: 19.44 kB / 0.8643 GB, free: 119 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-05/2.392, allocations: 40.05 kB / 0.8643 GB, free: 119 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/2.393, allocations: 0.6314 MB / 0.8649 GB, free: 118.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005901/2.399, allocations: 3.642 MB / 0.8685 GB, free: 115.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/2.401, allocations: 390 kB / 0.8688 GB, free: 115.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005734/2.406, allocations: 1.627 MB / 0.8704 GB, free: 113.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.991e-05/2.407, allocations: 46.39 kB / 0.8705 GB, free: 113.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 7.665e-06/2.407, allocations: 0 / 0.8705 GB, free: 113.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.007811/2.414, allocations: 1.436 MB / 0.8719 GB, free: 112.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/2.415, allocations: 136.4 kB / 0.872 GB, free: 112.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/2.415, allocations: 0.5013 MB / 0.8725 GB, free: 112.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/2.416, allocations: 37.58 kB / 0.8725 GB, free: 112.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/2.416, allocations: 404.4 kB / 0.8729 GB, free: 111.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/2.417, allocations: 153.4 kB / 0.8731 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/2.417, allocations: 15.97 kB / 0.8731 GB, free: 111.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/2.417, allocations: 338.6 kB / 0.8734 GB, free: 111.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/2.418, allocations: 210.1 kB / 0.8736 GB, free: 111.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/2.419, allocations: 0.5464 MB / 0.8741 GB, free: 110.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/2.421, allocations: 302 kB / 0.8744 GB, free: 110.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/2.421, allocations: 3.812 kB / 0.8744 GB, free: 110.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005002/2.426, allocations: 0.8663 MB / 0.8753 GB, free: 109.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/2.426, allocations: 8 kB / 0.8753 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/2.426, allocations: 15.98 kB / 0.8753 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/2.43, allocations: 260.3 kB / 0.8755 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/2.431, allocations: 135.8 kB / 0.8757 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/2.434, allocations: 0.8417 MB / 0.8765 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/2.436, allocations: 51.12 kB / 0.8765 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/2.436, allocations: 40 kB / 0.8766 GB, free: 108.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.001662/2.438, allocations: 261.4 kB / 0.8768 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/2.438, allocations: 63.25 kB / 0.8769 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/2.441, allocations: 0.7128 MB / 0.8776 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/2.441, allocations: 11.92 kB / 0.8776 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/2.441, allocations: 0 / 0.8776 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/2.442, allocations: 3.953 kB / 0.8776 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/2.444, allocations: 1.339 MB / 0.8789 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/2.444, allocations: 0 / 0.8789 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/2.446, allocations: 200 kB / 0.8791 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/2.446, allocations: 24.84 kB / 0.8791 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/2.447, allocations: 8 kB / 0.8791 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/2.449, allocations: 2.705 MB / 0.8818 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.449, allocations: 4.031 kB / 0.8818 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/2.451, allocations: 1.003 MB / 0.8828 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/2.451, allocations: 196.2 kB / 0.883 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/2.451, allocations: 12 kB / 0.883 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/2.452, allocations: 23.98 kB / 0.883 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/2.452, allocations: 39.97 kB / 0.883 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/2.452, allocations: 19.98 kB / 0.883 GB, free: 101.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006532/2.453, allocations: 407 kB / 0.8834 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.453, allocations: 0 / 0.8834 GB, free: 100.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001232/2.454, allocations: 239.9 kB / 0.8837 GB, free: 100.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00289/2.457, allocations: 2.221 MB / 0.8858 GB, free: 98.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/2.459, allocations: 0.5732 MB / 0.8864 GB, free: 97.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/2.459, allocations: 4.375 kB / 0.8864 GB, free: 97.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/2.46, allocations: 414.3 kB / 0.8868 GB, free: 97.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/2.463, allocations: 294.4 kB / 0.8871 GB, free: 97.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009686/2.472, allocations: 11.43 MB / 0.8982 GB, free: 85.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/2.473, allocations: 0.9385 MB / 0.8991 GB, free: 84.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/2.474, allocations: 247.3 kB / 0.8994 GB, free: 84.12 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/2.474, allocations: 0 / 0.8994 GB, free: 84.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.243/5.716, allocations: 18.33 MB / 0.9173 GB, free: 65.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat