Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08403, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4349, allocations: 71.4 MB / 343.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4352, allocations: 74.97 kB / 343.6 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07631/0.5115, allocations: 18.12 MB / 361.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5116, allocations: 4 kB / 361.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.564e-05/0.5117, allocations: 23.94 kB / 361.7 MB, free: 3.223 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003726/0.5154, allocations: 1.26 MB / 363 MB, free: 1.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5155, allocations: 12.03 kB / 363 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000398/0.5159, allocations: 131.6 kB / 363.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.5163, allocations: 122.7 kB / 363.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5179, allocations: 0.5686 MB / 363.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.5182, allocations: 156.5 kB / 364 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.5184, allocations: 75.94 kB / 364 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.5208, allocations: 0.9619 MB / 365 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.5209, allocations: 3.906 kB / 365 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.521, allocations: 28.19 kB / 365 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.5211, allocations: 16 kB / 365 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.5233, allocations: 0.6495 MB / 365.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006666/0.53, allocations: 2.517 MB / 368.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.535, allocations: 0.9341 MB / 369.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.5352, allocations: 20.62 kB / 369.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.5353, allocations: 48.66 kB / 369.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.997e-06/0.5353, allocations: 0 / 369.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00476/0.5401, allocations: 1.464 MB / 370.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000513/0.5406, allocations: 0.9524 MB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.5421, allocations: 0.6562 MB / 372.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.5424, allocations: 45.45 kB / 372.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5427, allocations: 415.2 kB / 372.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.5431, allocations: 244.2 kB / 373 MB, free: 9.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.5432, allocations: 14.75 kB / 373 MB, free: 9.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5433, allocations: 340.2 kB / 373.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.5444, allocations: 266.7 kB / 373.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.5458, allocations: 0.59 MB / 374.2 MB, free: 8.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.547, allocations: 409.8 kB / 374.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.547, allocations: 0 / 374.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002866/0.5499, allocations: 0.9296 MB / 375.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-05/0.55, allocations: 81.11 kB / 375.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.55, allocations: 4 kB / 375.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.5505, allocations: 126 kB / 375.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5519, allocations: 163.3 kB / 375.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.5604, allocations: 6.983 MB / 382.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5618, allocations: 115.2 kB / 383 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5619, allocations: 23.98 kB / 383 MB, free: 15.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.5626, allocations: 241.6 kB / 383.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.5629, allocations: 90.97 kB / 383.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.5632, allocations: 100.4 kB / 383.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.5633, allocations: 4 kB / 383.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.5633, allocations: 8 kB / 383.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002521/0.5658, allocations: 1.001 MB / 384.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/0.5707, allocations: 1.754 MB / 386.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5708, allocations: 0 / 386.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.5723, allocations: 159.8 kB / 386.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.5726, allocations: 32.84 kB / 386.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.5727, allocations: 19.98 kB / 386.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.5744, allocations: 1.46 MB / 387.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5744, allocations: 0 / 387.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.5783, allocations: 1.115 MB / 389 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.5788, allocations: 183.9 kB / 389.1 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.5791, allocations: 23.95 kB / 389.2 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.5799, allocations: 39.98 kB / 389.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.5802, allocations: 48.58 kB / 389.2 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.5802, allocations: 16 kB / 389.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.5815, allocations: 0.5225 MB / 389.8 MB, free: 8.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5815, allocations: 0 / 389.8 MB, free: 8.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001533/0.583, allocations: 293.7 kB / 390.1 MB, free: 7.961 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (69): * Single equations (assignments): 68 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00436/0.5874, allocations: 1.707 MB / 391.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003626/0.5911, allocations: 1.429 MB / 393.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.5912, allocations: 4 kB / 393.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.5926, allocations: 446.6 kB / 393.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.5945, allocations: 228.5 kB / 393.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.6017, allocations: 3.116 MB / 397 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.6025, allocations: 0.9911 MB / 398 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009259/0.6035, allocations: 347.2 kB / 398.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6035, allocations: 0 / 398.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.364/3.967, allocations: 25.57 MB / 423.9 MB, free: 5.871 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat