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.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_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09786, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5067, allocations: 75.73 MB / 384.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.507, allocations: 76.7 kB / 384.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03557/0.5426, allocations: 9.066 MB / 393.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5426, allocations: 4 kB / 393.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.531e-05/0.5427, allocations: 11.62 kB / 393.4 MB, free: 13.9 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001494/0.5442, allocations: 0.7406 MB / 394.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5443, allocations: 11.62 kB / 394.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.5444, allocations: 75.64 kB / 394.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.5446, allocations: 58.47 kB / 394.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.5453, allocations: 373.6 kB / 394.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.5454, allocations: 61.23 kB / 394.7 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.5455, allocations: 33.03 kB / 394.8 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.5465, allocations: 465.5 kB / 395.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.5465, allocations: 0 / 395.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.5466, allocations: 14.84 kB / 395.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5466, allocations: 7.906 kB / 395.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.5475, allocations: 294.5 kB / 395.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.5503, allocations: 1.238 MB / 396.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.5521, allocations: 461.7 kB / 397.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.5522, allocations: 11.69 kB / 397.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5523, allocations: 41.5 kB / 397.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/0.5523, allocations: 0 / 397.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001916/0.5542, allocations: 0.6274 MB / 397.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5544, allocations: 443.8 kB / 398.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.555, allocations: 385.4 kB / 398.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/0.5551, allocations: 36.58 kB / 398.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5553, allocations: 260.1 kB / 399 MB, free: 11.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.5554, allocations: 115.4 kB / 399.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.5555, allocations: 14.75 kB / 399.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.5555, allocations: 322.2 kB / 399.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.5559, allocations: 110.7 kB / 399.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.5564, allocations: 248.4 kB / 399.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.5569, allocations: 165.1 kB / 399.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5569, allocations: 0 / 399.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001215/0.5582, allocations: 405.6 kB / 400.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.5582, allocations: 32.88 kB / 400.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5582, allocations: 7.797 kB / 400.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.5585, allocations: 47.91 kB / 400.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.5591, allocations: 74.91 kB / 400.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.5618, allocations: 2.767 MB / 403.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/0.5625, allocations: 50.16 kB / 403.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.5626, allocations: 11.59 kB / 403.3 MB, free: 7.723 MB / 314.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.0003176/0.5629, allocations: 171.6 kB / 403.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.563, allocations: 50.48 kB / 403.5 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.5631, allocations: 47.88 kB / 403.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5632, allocations: 11.48 kB / 403.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5632, allocations: 0 / 403.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009215/0.5641, allocations: 0.6618 MB / 404.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.566, allocations: 0.9211 MB / 405.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5661, allocations: 0 / 405.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.5667, allocations: 72.28 kB / 405.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5668, allocations: 0 / 405.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.5668, allocations: 15.02 kB / 405.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.5668, allocations: 0 / 405.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5668, allocations: 3.938 kB / 405.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5682, allocations: 0.5409 MB / 405.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.5684, allocations: 131.3 kB / 405.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5685, allocations: 7.594 kB / 406 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.569, allocations: 21.17 kB / 406 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.569, allocations: 18.62 kB / 406 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.5691, allocations: 7.875 kB / 406 MB, free: 6.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004991/0.5696, allocations: 312.7 kB / 406.3 MB, free: 6.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5696, allocations: 0 / 406.3 MB, free: 6.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006858/0.5703, allocations: 130.5 kB / 406.4 MB, free: 6.254 MB / 314.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.001737/0.572, allocations: 1.108 MB / 407.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.5734, allocations: 0.5836 MB / 408.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5735, allocations: 3.875 kB / 408.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.5739, allocations: 138.5 kB / 408.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.5749, allocations: 119.4 kB / 408.4 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.578, allocations: 1.557 MB / 409.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.5785, allocations: 0.8242 MB / 410.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.5789, allocations: 160.1 kB / 410.9 MB, free: 19.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5789, allocations: 3.938 kB / 410.9 MB, free: 19.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/3.337, allocations: 9.494 MB / 420.4 MB, free: 15.18 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat