Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 187.4 kB / 8.14 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.061/1.061, allocations: 221.4 MB / 230 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008261/0.0008261, allocations: 93.64 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09342/0.09428, allocations: 55.82 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.2745, allocations: 50.39 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07934/0.3538, allocations: 81.26 MB / 468.3 MB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.354, allocations: 72.5 kB / 468.3 MB, free: 5.457 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.04268/0.3967, allocations: 17.55 MB / 485.9 MB, free: 3.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3968, allocations: 8 kB / 485.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.397, allocations: 114.8 kB / 486 MB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/0.3979, allocations: 0.5474 MB / 486.6 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.398, allocations: 134.4 kB / 486.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.3981, allocations: 40 kB / 486.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008901/0.399, allocations: 0.4907 MB / 487.2 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.4001, allocations: 0.7331 MB / 487.9 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.4001, allocations: 0 / 487.9 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.4001, allocations: 7.938 kB / 488 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.4002, allocations: 15.91 kB / 488 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.4036, allocations: 2.094 MB / 490.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4048, allocations: 0.838 MB / 490.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.4053, allocations: 347.3 kB / 491.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.234e-05/0.4054, allocations: 16.59 kB / 491.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4054, allocations: 53.02 kB / 491.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 1.914e-06/0.4054, allocations: 0 / 491.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.002136/0.4075, allocations: 0.8692 MB / 492.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003528/0.4079, allocations: 0.8234 MB / 493 MB, free: 12.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.4085, allocations: 0.4919 MB / 493.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.4086, allocations: 29.7 kB / 493.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.4087, allocations: 248.8 kB / 493.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.4089, allocations: 264 kB / 494 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.409, allocations: 0 / 494 MB, free: 11.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4091, allocations: 386.8 kB / 494.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.4095, allocations: 209.6 kB / 494.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.4101, allocations: 484.1 kB / 495.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.4105, allocations: 265.2 kB / 495.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4105, allocations: 0 / 495.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002092/0.4126, allocations: 0.9227 MB / 496.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4126, allocations: 6.969 kB / 496.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4126, allocations: 4 kB / 496.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.4133, allocations: 211.2 kB / 496.5 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.414, allocations: 163.8 kB / 496.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/0.42, allocations: 5.953 MB / 0.4908 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007442/0.4208, allocations: 103.6 kB / 0.4909 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.4209, allocations: 28.06 kB / 0.4909 GB, free: 1.777 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 67 * 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.4211, allocations: 140.8 kB / 0.4911 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4212, allocations: 86.97 kB / 0.4912 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.4214, allocations: 84.08 kB / 0.4912 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4214, allocations: 12 kB / 0.4912 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4214, allocations: 0 / 0.4912 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001934/0.4234, allocations: 1.158 MB / 0.4924 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1008/0.5242, allocations: 1.8 MB / 0.4941 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5243, allocations: 0 / 0.4941 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.525, allocations: 162.6 kB / 0.4943 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/0.5254, allocations: 167.2 kB / 0.4944 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.5254, allocations: 10.12 kB / 0.4945 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.5295, allocations: 4.633 MB / 0.499 GB, free: 128.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5295, allocations: 0 / 0.499 GB, free: 128.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002143/0.5317, allocations: 1.279 MB / 0.5002 GB, free: 128.3 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003422/0.5351, allocations: 2.655 MB / 0.5028 GB, free: 127.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.5354, allocations: 244.2 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.5356, allocations: 3.875 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.5361, allocations: 48.56 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5363, allocations: 53.12 kB / 0.5032 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.5363, allocations: 20.59 kB / 0.5032 GB, free: 127.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004266/0.5367, allocations: 399 kB / 0.5036 GB, free: 127.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001294/0.538, allocations: 267 kB / 0.5038 GB, free: 127.5 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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.0002028/0.5382, allocations: 126.5 kB / 0.5039 GB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.5395, allocations: 1.073 MB / 0.505 GB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5395, allocations: 7.5 kB / 0.505 GB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009589/0.5405, allocations: 0.6768 MB / 0.5056 GB, free: 126.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.5413, allocations: 182.3 kB / 0.5058 GB, free: 126.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.5435, allocations: 1.292 MB / 0.5071 GB, free: 126.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.544, allocations: 1.063 MB / 0.5081 GB, free: 125.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5441, allocations: 0.7188 kB / 0.5081 GB, free: 125.6 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat