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.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.624/1.624, allocations: 171.2 MB / 186.8 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.00055, allocations: 12 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.08315, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4422, allocations: 71.34 MB / 343.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4425, allocations: 75.91 kB / 343.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04035/0.4829, allocations: 9.784 MB / 353.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.483, allocations: 0 / 353.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.483, allocations: 8 kB / 353.3 MB, free: 10.25 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002013/0.485, allocations: 0.8193 MB / 354.1 MB, free: 9.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4851, allocations: 8.031 kB / 354.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.4853, allocations: 88.92 kB / 354.2 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.4855, allocations: 63.25 kB / 354.3 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.4862, allocations: 390.2 kB / 354.7 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4864, allocations: 64.83 kB / 354.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.4865, allocations: 41.69 kB / 354.8 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.4878, allocations: 0.5055 MB / 355.3 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4879, allocations: 4 kB / 355.3 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.4879, allocations: 14.44 kB / 355.3 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.488, allocations: 12 kB / 355.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.4894, allocations: 388.3 kB / 355.7 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.4927, allocations: 1.327 MB / 357 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.4945, allocations: 0.4963 MB / 357.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.4945, allocations: 4 kB / 357.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.4946, allocations: 53.14 kB / 357.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.306e-06/0.4946, allocations: 0 / 357.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.00283/0.4974, allocations: 0.7935 MB / 358.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002284/0.4977, allocations: 455.8 kB / 358.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.4985, allocations: 404.6 kB / 359.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/0.4986, allocations: 29.52 kB / 359.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.4988, allocations: 271.8 kB / 359.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.499, allocations: 134.8 kB / 359.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.499, allocations: 14.44 kB / 359.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4991, allocations: 329.4 kB / 360 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/0.4998, allocations: 160.5 kB / 360.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.5007, allocations: 304.2 kB / 360.4 MB, free: 3.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.5014, allocations: 210.2 kB / 360.6 MB, free: 3.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5015, allocations: 0 / 360.6 MB, free: 3.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001717/0.5032, allocations: 498.2 kB / 361.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.5033, allocations: 33.7 kB / 361.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5033, allocations: 0 / 361.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.5035, allocations: 60.25 kB / 361.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.5043, allocations: 91.62 kB / 361.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.5075, allocations: 2.766 MB / 364 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.5083, allocations: 61.64 kB / 364.1 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.5084, allocations: 19.48 kB / 364.1 MB, free: 260 kB / 282.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.0003534/0.5088, allocations: 172.1 kB / 364.3 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5089, allocations: 55.34 kB / 364.3 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.509, allocations: 58.62 kB / 364.4 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.5091, allocations: 4 kB / 364.4 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5091, allocations: 3.953 kB / 364.4 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/0.5107, allocations: 0.7718 MB / 365.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.5134, allocations: 1.082 MB / 366.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5134, allocations: 0 / 366.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008772/0.5143, allocations: 107 kB / 366.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.5144, allocations: 3.953 kB / 366.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.5144, allocations: 9.812 kB / 366.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5144, allocations: 0 / 366.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5144, allocations: 0 / 366.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.5168, allocations: 0.7246 MB / 367.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.517, allocations: 139.7 kB / 367.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.5172, allocations: 14.95 kB / 367.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.5177, allocations: 31.66 kB / 367.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5178, allocations: 23.72 kB / 367.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.5179, allocations: 15.61 kB / 367.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005689/0.5185, allocations: 317.9 kB / 367.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5185, allocations: 7.938 kB / 367.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007063/0.5192, allocations: 145.9 kB / 367.8 MB, free: 13.07 MB / 298.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.002775/0.522, allocations: 1.289 MB / 369.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.5241, allocations: 0.6876 MB / 369.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5241, allocations: 0 / 369.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.5249, allocations: 204.3 kB / 370 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.5259, allocations: 129.5 kB / 370.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.5293, allocations: 1.706 MB / 371.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.5299, allocations: 0.8433 MB / 372.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.5303, allocations: 173.1 kB / 372.8 MB, free: 8.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5303, allocations: 0 / 372.8 MB, free: 8.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.893/3.423, allocations: 10.52 MB / 383.3 MB, free: 14.09 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat