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.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003714, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09611, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5101, allocations: 76.66 MB / 385.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5104, allocations: 76.22 kB / 385.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03873/0.5492, allocations: 9.811 MB / 395.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5492, allocations: 0 / 395.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.933e-05/0.5493, allocations: 11.62 kB / 395.1 MB, free: 13.82 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001789/0.5511, allocations: 0.8213 MB / 395.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5511, allocations: 11.62 kB / 395.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.5513, allocations: 73.7 kB / 396 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.5514, allocations: 65.25 kB / 396.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.5521, allocations: 395.4 kB / 396.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.5523, allocations: 60.77 kB / 396.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.5524, allocations: 33.97 kB / 396.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.5536, allocations: 0.5163 MB / 397.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.5536, allocations: 3.906 kB / 397.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.5537, allocations: 22.27 kB / 397.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5537, allocations: 7.656 kB / 397.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.5551, allocations: 392.1 kB / 397.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.5584, allocations: 1.325 MB / 398.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.5601, allocations: 0.5061 MB / 399.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/0.5602, allocations: 15.5 kB / 399.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5602, allocations: 42.25 kB / 399.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.727e-06/0.5602, allocations: 0 / 399.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002678/0.5629, allocations: 0.8033 MB / 400.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5631, allocations: 450.5 kB / 400.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.5638, allocations: 400.8 kB / 401 MB, free: 11.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-05/0.5639, allocations: 36.77 kB / 401 MB, free: 11.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.564, allocations: 269.6 kB / 401.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.5642, allocations: 134.1 kB / 401.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.5642, allocations: 10.94 kB / 401.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.5643, allocations: 323.5 kB / 401.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.565, allocations: 161.7 kB / 401.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.5658, allocations: 300.1 kB / 402.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.5665, allocations: 205.6 kB / 402.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5666, allocations: 5.438 kB / 402.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0016/0.5682, allocations: 496.5 kB / 402.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.5682, allocations: 36.77 kB / 402.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5683, allocations: 3.953 kB / 402.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.5685, allocations: 57.62 kB / 403 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.5693, allocations: 91.3 kB / 403.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.5721, allocations: 2.756 MB / 405.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.5729, allocations: 75.59 kB / 405.9 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.573, allocations: 14.23 kB / 405.9 MB, free: 7.562 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 (40): * Single equations (assignments): 37 * 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.0003627/0.5734, allocations: 168.3 kB / 406.1 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5735, allocations: 58.58 kB / 406.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.5736, allocations: 59 kB / 406.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5737, allocations: 3.938 kB / 406.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5737, allocations: 0 / 406.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.5751, allocations: 0.7753 MB / 407 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.5777, allocations: 1.082 MB / 408.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5777, allocations: 3.875 kB / 408.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/0.5786, allocations: 94.64 kB / 408.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.5786, allocations: 10.22 kB / 408.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.5786, allocations: 7.125 kB / 408.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.5787, allocations: 3.875 kB / 408.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5787, allocations: 0 / 408.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.5808, allocations: 0.7304 MB / 408.9 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.5811, allocations: 129.4 kB / 409 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5812, allocations: 13.47 kB / 409.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.5818, allocations: 42.98 kB / 409.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5819, allocations: 25.61 kB / 409.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.582, allocations: 6.922 kB / 409.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005222/0.5825, allocations: 325.7 kB / 409.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5825, allocations: 0 / 409.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006963/0.5832, allocations: 149.1 kB / 409.6 MB, free: 6.07 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 (38): * Single equations (assignments): 38 * 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.002465/0.5857, allocations: 1.298 MB / 410.9 MB, free: 5.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.5876, allocations: 0.6882 MB / 411.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5876, allocations: 0 / 411.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.5883, allocations: 204.4 kB / 411.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5894, allocations: 125.8 kB / 411.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.5926, allocations: 1.709 MB / 413.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.5931, allocations: 0.8437 MB / 414.4 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.5935, allocations: 176.2 kB / 414.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5935, allocations: 0 / 414.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.971/3.565, allocations: 10.55 MB / 425.2 MB, free: 13.59 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat