Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003545, allocations: 8 kB / 264.1 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3065, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.4906, allocations: 75.74 MB / 384.3 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.491, allocations: 75.95 kB / 384.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04561/0.5366, allocations: 9.072 MB / 393.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5366, allocations: 0 / 393.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.5367, allocations: 12 kB / 393.4 MB, free: 7.734 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001741/0.5385, allocations: 0.7415 MB / 394.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5385, allocations: 12.03 kB / 394.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.5387, allocations: 75.17 kB / 394.3 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5389, allocations: 59.34 kB / 394.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.5396, allocations: 374 kB / 394.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5398, allocations: 66.28 kB / 394.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.5399, allocations: 28 kB / 394.8 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.541, allocations: 464.9 kB / 395.2 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5411, allocations: 0 / 395.2 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.5411, allocations: 16 kB / 395.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5411, allocations: 8 kB / 395.3 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009942/0.5422, allocations: 294.5 kB / 395.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.5453, allocations: 1.24 MB / 396.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.5473, allocations: 459.2 kB / 397.2 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.5474, allocations: 4.281 kB / 397.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.5475, allocations: 42.84 kB / 397.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.5475, allocations: 0 / 397.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001951/0.5495, allocations: 0.6207 MB / 397.9 MB, free: 2.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002416/0.5497, allocations: 448.9 kB / 398.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.5505, allocations: 385.1 kB / 398.7 MB, free: 2.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.5506, allocations: 33.7 kB / 398.8 MB, free: 1.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.5508, allocations: 228.4 kB / 399 MB, free: 1.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.551, allocations: 114.3 kB / 399.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.551, allocations: 8 kB / 399.1 MB, free: 1.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5512, allocations: 358.9 kB / 399.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.5517, allocations: 111.9 kB / 399.6 MB, free: 1.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.5523, allocations: 250.9 kB / 399.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.5528, allocations: 164.1 kB / 400 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5528, allocations: 0 / 400 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001354/0.5542, allocations: 438.2 kB / 400.4 MB, free: 256 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.5543, allocations: 37.72 kB / 400.4 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.5543, allocations: 3.953 kB / 400.4 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.5546, allocations: 49.7 kB / 400.5 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.5554, allocations: 71.89 kB / 400.6 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.5598, allocations: 2.775 MB / 403.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.5606, allocations: 51.66 kB / 403.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5607, allocations: 8 kB / 403.4 MB, free: 12.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004217/0.5611, allocations: 161.8 kB / 403.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.5613, allocations: 55.39 kB / 403.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.5615, allocations: 56.52 kB / 403.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5615, allocations: 4 kB / 403.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5616, allocations: 0 / 403.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/0.563, allocations: 0.6647 MB / 404.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.5658, allocations: 0.9126 MB / 405.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5658, allocations: 0 / 405.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008643/0.5667, allocations: 71.89 kB / 405.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.5667, allocations: 0 / 405.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.5668, allocations: 15.98 kB / 405.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.5668, allocations: 4 kB / 405.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5668, allocations: 0 / 405.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.5688, allocations: 0.5496 MB / 405.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.569, allocations: 132.5 kB / 406 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5692, allocations: 8 kB / 406 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.5698, allocations: 20 kB / 406 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.5699, allocations: 15.97 kB / 406 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.57, allocations: 12 kB / 406.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007588/0.5707, allocations: 303.1 kB / 406.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5707, allocations: 4.062 kB / 406.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00109/0.5718, allocations: 143.8 kB / 406.5 MB, free: 9.648 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002678/0.5745, allocations: 1.091 MB / 407.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.5766, allocations: 0.5827 MB / 408.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.5766, allocations: 4 kB / 408.2 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.5773, allocations: 135.8 kB / 408.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.5786, allocations: 109.5 kB / 408.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.5829, allocations: 1.542 MB / 410 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.5836, allocations: 0.8237 MB / 410.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.5841, allocations: 56.23 kB / 410.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.5846, allocations: 159.4 kB / 411 MB, free: 5.004 MB / 346.7 MB Notification: Performance of SimCode: time 4.379e-06/0.5846, allocations: 0 / 411 MB, free: 5.004 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/0.8842, allocations: 11.02 MB / 422 MB, free: 94.86 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.8845, allocations: 204.8 kB / 422.2 MB, free: 94.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/4.033, allocations: 0 / 422.2 MB, free: 94.63 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat