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.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.2 MB / 186.8 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.0849, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.4775, allocations: 71.41 MB / 343.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4778, allocations: 75.58 kB / 343.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0669/0.5447, allocations: 15.49 MB / 359.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5448, allocations: 0 / 359.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.044e-05/0.5449, allocations: 16 kB / 359.1 MB, free: 5.023 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.003103/0.548, allocations: 1.14 MB / 360.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5481, allocations: 12.03 kB / 360.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.5484, allocations: 115.2 kB / 360.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.5486, allocations: 102.9 kB / 360.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5498, allocations: 0.5054 MB / 361 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.5502, allocations: 150.7 kB / 361.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.5503, allocations: 62.44 kB / 361.2 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.5524, allocations: 0.8438 MB / 362 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.5525, allocations: 4 kB / 362 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5526, allocations: 34.23 kB / 362.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.5526, allocations: 20 kB / 362.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.5546, allocations: 0.5851 MB / 362.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005212/0.5599, allocations: 2.081 MB / 364.7 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.5632, allocations: 1.045 MB / 365.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.182e-05/0.5633, allocations: 12.72 kB / 365.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.5634, allocations: 49.34 kB / 365.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.887e-06/0.5634, allocations: 0 / 365.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.00878/0.5722, allocations: 1.849 MB / 367.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004026/0.5726, allocations: 0.823 MB / 368.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.5738, allocations: 0.5345 MB / 369 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.574, allocations: 46.64 kB / 369.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.5744, allocations: 344.1 kB / 369.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.5747, allocations: 258 kB / 369.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.5748, allocations: 15.5 kB / 369.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5749, allocations: 337.9 kB / 370 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000966/0.5759, allocations: 259.1 kB / 370.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.5772, allocations: 0.5303 MB / 370.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5783, allocations: 390.3 kB / 371.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5783, allocations: 0 / 371.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004226/0.5826, allocations: 1.05 MB / 372.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.446e-05/0.5827, allocations: 96.91 kB / 372.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5828, allocations: 0 / 372.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.5839, allocations: 244.8 kB / 372.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.5851, allocations: 127.8 kB / 372.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.5973, allocations: 6.579 MB / 379.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5987, allocations: 113 kB / 379.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.5988, allocations: 26.61 kB / 379.4 MB, free: 2.555 MB / 298.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 (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005419/0.5993, allocations: 209.3 kB / 379.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.5996, allocations: 83.06 kB / 379.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.5998, allocations: 90.86 kB / 379.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5998, allocations: 4 kB / 379.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.5999, allocations: 8.328 kB / 379.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003991/0.6039, allocations: 1.252 MB / 381.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/0.6102, allocations: 1.904 MB / 383 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.6103, allocations: 4 kB / 383 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.6116, allocations: 135.8 kB / 383.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009675/0.6125, allocations: 210.4 kB / 383.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/0.6127, allocations: 16 kB / 383.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.6235, allocations: 5.137 MB / 388.5 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6235, allocations: 3.938 kB / 388.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/0.6292, allocations: 1.382 MB / 389.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.6296, allocations: 172 kB / 390 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.6298, allocations: 20 kB / 390 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.6307, allocations: 43.97 kB / 390.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.6309, allocations: 56.58 kB / 390.1 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.631, allocations: 19.98 kB / 390.1 MB, free: 7.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009054/0.6319, allocations: 435.1 kB / 390.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.632, allocations: 4 kB / 390.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001424/0.6334, allocations: 283.6 kB / 390.8 MB, free: 7.031 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005791/0.6392, allocations: 1.974 MB / 392.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.6424, allocations: 1.324 MB / 394.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.6425, allocations: 0 / 394.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.6447, allocations: 0.7613 MB / 394.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.6462, allocations: 190.9 kB / 395.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.6516, allocations: 2.52 MB / 397.6 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.6523, allocations: 0.9477 MB / 398.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/0.653, allocations: 287.3 kB / 398.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6531, allocations: 0 / 398.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.042/3.695, allocations: 23.19 MB / 422 MB, free: 7.562 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat