Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005476/0.0005478, allocations: 15.98 kB / 233.4 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08816, allocations: 38.75 MB / 272.1 MB, free: 11.45 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5457, allocations: 71.4 MB / 343.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/0.5462, allocations: 76.02 kB / 343.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08775/0.6339, allocations: 18.12 MB / 361.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.359e-06/0.634, allocations: 0 / 361.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001488/0.6342, allocations: 19.94 kB / 361.7 MB, free: 2.586 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.005853/0.6401, allocations: 1.263 MB / 363 MB, free: 1.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.6402, allocations: 15.91 kB / 363 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00066/0.6408, allocations: 128.8 kB / 363.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.6414, allocations: 118.7 kB / 363.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.6439, allocations: 0.5761 MB / 363.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005252/0.6445, allocations: 158.8 kB / 364 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.6448, allocations: 68.62 kB / 364 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/0.6487, allocations: 0.9586 MB / 365 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.6488, allocations: 7.844 kB / 365 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.6491, allocations: 37.8 kB / 365.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.6491, allocations: 19.98 kB / 365.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003811/0.653, allocations: 0.6393 MB / 365.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.6636, allocations: 2.523 MB / 368.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007885/0.6716, allocations: 0.933 MB / 369.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.6718, allocations: 16.39 kB / 369.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.994e-05/0.6719, allocations: 46.78 kB / 369.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 9.458e-06/0.672, allocations: 4 kB / 369.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.007939/0.6799, allocations: 1.472 MB / 370.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007662/0.6808, allocations: 0.9488 MB / 371.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6831, allocations: 0.6567 MB / 372.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003362/0.6835, allocations: 44.95 kB / 372.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000682/0.6842, allocations: 404.8 kB / 372.7 MB, free: 9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.6848, allocations: 247.2 kB / 373 MB, free: 8.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.685, allocations: 15.44 kB / 373 MB, free: 8.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.6852, allocations: 333.2 kB / 373.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.687, allocations: 272.1 kB / 373.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.6894, allocations: 0.587 MB / 374.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.6916, allocations: 404.5 kB / 374.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.6917, allocations: 0 / 374.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005427/0.6971, allocations: 0.9845 MB / 375.6 MB, free: 6.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.6974, allocations: 86.2 kB / 375.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6974, allocations: 3.938 kB / 375.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.6983, allocations: 139.6 kB / 375.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.7007, allocations: 151.7 kB / 375.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.7138, allocations: 6.983 MB / 382.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.716, allocations: 103.2 kB / 383 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.7163, allocations: 35.92 kB / 383.1 MB, free: 14.8 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.0009708/0.7173, allocations: 233.7 kB / 383.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.7178, allocations: 98.88 kB / 383.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.7183, allocations: 100.4 kB / 383.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.7184, allocations: 8 kB / 383.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.7184, allocations: 0 / 383.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00414/0.7225, allocations: 0.9935 MB / 384.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007503/0.7301, allocations: 1.762 MB / 386.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.7302, allocations: 0 / 386.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.7325, allocations: 163.8 kB / 386.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.7327, allocations: 28.84 kB / 386.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/0.7328, allocations: 19.92 kB / 386.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.7345, allocations: 1.46 MB / 387.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7345, allocations: 0 / 387.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/0.7383, allocations: 1.123 MB / 389 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.7387, allocations: 172 kB / 389.2 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.7389, allocations: 27.95 kB / 389.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000846/0.7398, allocations: 43.89 kB / 389.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.74, allocations: 52.58 kB / 389.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/0.74, allocations: 19.94 kB / 389.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.7412, allocations: 0.5186 MB / 389.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7412, allocations: 0 / 389.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001329/0.7425, allocations: 297.8 kB / 390.2 MB, free: 7.336 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.004234/0.7468, allocations: 1.699 MB / 391.8 MB, free: 5.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.7504, allocations: 1.425 MB / 393.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.7505, allocations: 4 kB / 393.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.7518, allocations: 450.5 kB / 393.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.7537, allocations: 236 kB / 393.9 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007079/0.7608, allocations: 3.094 MB / 397 MB, free: 232 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.7618, allocations: 0.9872 MB / 398 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.7628, allocations: 115 kB / 398.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/0.7636, allocations: 339.3 kB / 398.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7636, allocations: 0 / 398.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.8436, allocations: 22.27 MB / 420.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/0.844, allocations: 218.2 kB / 421 MB, free: 8.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/4.557, allocations: 0 / 421 MB, free: 8.281 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat