Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.815/2.815, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.376e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.658, allocations: 423.9 MB / 0.7637 GB, free: 71.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.659, allocations: 91.14 kB / 0.7638 GB, free: 71.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7657/2.424, allocations: 131 MB / 0.8917 GB, free: 147.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/2.424, allocations: 0 / 0.8917 GB, free: 147.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.306e-05/2.424, allocations: 18.53 kB / 0.8918 GB, free: 147.3 MB / 490.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.002615/2.427, allocations: 0.91 MB / 0.8926 GB, free: 146.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/2.427, allocations: 11.86 kB / 0.8927 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/2.428, allocations: 93.67 kB / 0.8927 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/2.429, allocations: 0.5418 MB / 0.8933 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/2.43, allocations: 84.42 kB / 0.8934 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/2.43, allocations: 29.31 kB / 0.8934 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/2.431, allocations: 0.5516 MB / 0.8939 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/2.433, allocations: 0.7284 MB / 0.8946 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/2.433, allocations: 3.953 kB / 0.8946 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/2.433, allocations: 7.5 kB / 0.8946 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.608e-05/2.433, allocations: 42.3 kB / 0.8947 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006386/2.439, allocations: 3.779 MB / 0.8984 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/2.44, allocations: 303.2 kB / 0.8987 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/2.441, allocations: 165.4 kB / 0.8988 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/2.443, allocations: 1.376 MB / 0.9002 GB, free: 140 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/2.443, allocations: 38.8 kB / 0.9002 GB, free: 140 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.547e-06/2.443, allocations: 0 / 0.9002 GB, free: 140 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004467/2.448, allocations: 1.146 MB / 0.9013 GB, free: 138.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/2.448, allocations: 132.5 kB / 0.9014 GB, free: 138.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/2.449, allocations: 494 kB / 0.9019 GB, free: 138.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/2.449, allocations: 25.7 kB / 0.9019 GB, free: 138.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/2.449, allocations: 452.9 kB / 0.9024 GB, free: 137.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/2.449, allocations: 118.4 kB / 0.9025 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/2.449, allocations: 3.938 kB / 0.9025 GB, free: 137.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/2.449, allocations: 338.8 kB / 0.9028 GB, free: 137.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/2.45, allocations: 189.5 kB / 0.903 GB, free: 137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/2.45, allocations: 0.5054 MB / 0.9035 GB, free: 136.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/2.451, allocations: 327 kB / 0.9038 GB, free: 136 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/2.451, allocations: 4 kB / 0.9038 GB, free: 136 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00264/2.454, allocations: 0.8102 MB / 0.9046 GB, free: 135.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/2.454, allocations: 8.094 kB / 0.9046 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/2.454, allocations: 19.95 kB / 0.9046 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/2.456, allocations: 218 kB / 0.9048 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/2.456, allocations: 135.8 kB / 0.905 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/2.458, allocations: 0.8588 MB / 0.9058 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.459, allocations: 36.02 kB / 0.9058 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/2.459, allocations: 40 kB / 0.9059 GB, free: 133.9 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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 () * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002788/2.459, allocations: 141.4 kB / 0.906 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00135/2.461, allocations: 470.6 kB / 0.9065 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/2.461, allocations: 59.25 kB / 0.9065 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/2.462, allocations: 0.5457 MB / 0.907 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/2.462, allocations: 7.953 kB / 0.9071 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/2.462, allocations: 0 / 0.9071 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/2.462, allocations: 3.984 kB / 0.9071 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/2.465, allocations: 1.07 MB / 0.9081 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/2.465, allocations: 0 / 0.9081 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/2.467, allocations: 179.8 kB / 0.9083 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/2.467, allocations: 16.84 kB / 0.9083 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/2.467, allocations: 8 kB / 0.9083 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/2.469, allocations: 2.577 MB / 0.9108 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.469, allocations: 0 / 0.9108 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/2.471, allocations: 0.743 MB / 0.9115 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/2.471, allocations: 188.3 kB / 0.9117 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/2.472, allocations: 0 / 0.9117 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/2.472, allocations: 15.98 kB / 0.9117 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/2.472, allocations: 32.02 kB / 0.9118 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/2.473, allocations: 15.98 kB / 0.9118 GB, free: 127.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006701/2.473, allocations: 358.9 kB / 0.9121 GB, free: 127.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.473, allocations: 0 / 0.9121 GB, free: 127.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001374/2.475, allocations: 211.9 kB / 0.9123 GB, free: 126.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * 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.002586/2.477, allocations: 1.537 MB / 0.9138 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/2.479, allocations: 0.5048 MB / 0.9143 GB, free: 124.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/2.479, allocations: 0 / 0.9143 GB, free: 124.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/2.48, allocations: 346.8 kB / 0.9146 GB, free: 124.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/2.482, allocations: 241 kB / 0.9149 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/2.485, allocations: 1.061 MB / 0.9159 GB, free: 123.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/2.486, allocations: 0.9417 MB / 0.9168 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/2.486, allocations: 239.3 kB / 0.9171 GB, free: 121.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/2.486, allocations: 0 / 0.9171 GB, free: 121.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.123/5.61, allocations: 17.84 MB / 0.9345 GB, free: 104.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat