Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.346/2.346, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003617, allocations: 12 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 44.5 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5525, allocations: 76.74 MB / 385.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.5529, allocations: 71.52 kB / 385.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0917/0.6447, allocations: 18.2 MB / 403.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6447, allocations: 3.906 kB / 403.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.251e-05/0.6448, allocations: 23.41 kB / 403.6 MB, free: 12.19 MB / 314.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.003414/0.6482, allocations: 1.254 MB / 404.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6483, allocations: 7.938 kB / 404.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004419/0.6487, allocations: 132.1 kB / 405 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.6491, allocations: 124.9 kB / 405.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.6505, allocations: 0.5784 MB / 405.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.6508, allocations: 155.1 kB / 405.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.651, allocations: 67.53 kB / 405.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.6532, allocations: 0.9584 MB / 406.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.6533, allocations: 0 / 406.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.6534, allocations: 31.94 kB / 406.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.6535, allocations: 19.56 kB / 406.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.6557, allocations: 0.6451 MB / 407.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.662, allocations: 2.53 MB / 410.1 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/0.6668, allocations: 0.9497 MB / 411 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.667, allocations: 12.17 kB / 411 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.6671, allocations: 52.2 kB / 411.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.737e-06/0.6671, allocations: 4 kB / 411.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.004493/0.6716, allocations: 1.458 MB / 412.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002303/0.6719, allocations: 0.9559 MB / 413.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6732, allocations: 0.6626 MB / 414.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.6735, allocations: 44.05 kB / 414.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.6738, allocations: 397.4 kB / 414.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.6741, allocations: 252.3 kB / 414.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.6742, allocations: 17.62 kB / 414.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.6743, allocations: 341.6 kB / 415.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009459/0.6753, allocations: 267.8 kB / 415.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.6765, allocations: 0.5958 MB / 416 MB, free: 5.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6776, allocations: 408 kB / 416.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.6777, allocations: 3.938 kB / 416.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002724/0.6804, allocations: 0.916 MB / 417.4 MB, free: 4.699 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.6805, allocations: 84.78 kB / 417.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6806, allocations: 3.906 kB / 417.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.6811, allocations: 135.3 kB / 417.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.6825, allocations: 151.7 kB / 417.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/0.6897, allocations: 6.98 MB / 424.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6912, allocations: 109 kB / 424.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.6914, allocations: 30.83 kB / 424.8 MB, free: 13.82 MB / 330.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.0006597/0.6921, allocations: 233.3 kB / 425.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.6924, allocations: 98.09 kB / 425.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.6927, allocations: 104.8 kB / 425.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.6927, allocations: 7.719 kB / 425.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.6927, allocations: 0 / 425.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002316/0.6951, allocations: 1.005 MB / 426.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.6999, allocations: 1.768 MB / 428 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6999, allocations: 0 / 428 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.7014, allocations: 164.4 kB / 428.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.7016, allocations: 27.66 kB / 428.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/0.7017, allocations: 17.42 kB / 428.2 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.7033, allocations: 1.444 MB / 429.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7034, allocations: 0 / 429.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.7069, allocations: 1.122 MB / 430.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.7074, allocations: 191.2 kB / 431 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.7077, allocations: 25 kB / 431 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008688/0.7086, allocations: 36.08 kB / 431.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.7087, allocations: 49.95 kB / 431.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.7088, allocations: 14.66 kB / 431.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009823/0.7098, allocations: 0.5241 MB / 431.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.615e-06/0.7098, allocations: 0 / 431.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00139/0.7112, allocations: 298.4 kB / 431.9 MB, free: 10.09 MB / 330.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.003814/0.7151, allocations: 1.708 MB / 433.6 MB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003282/0.7184, allocations: 1.422 MB / 435.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.7185, allocations: 3.188 kB / 435.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.7197, allocations: 454.4 kB / 435.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.7215, allocations: 244.2 kB / 435.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.7279, allocations: 3.09 MB / 438.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.7286, allocations: 0.9859 MB / 439.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/0.7295, allocations: 345.3 kB / 440.2 MB, free: 5.012 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7296, allocations: 4 kB / 440.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.297/4.026, allocations: 25.61 MB / 465.8 MB, free: 14.99 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat