Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001108/0.001109, allocations: 198.8 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008831/0.0008832, allocations: 91.94 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09126/0.09217, allocations: 56.9 MB / 343.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.1766, allocations: 51.47 MB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.3913, allocations: 82.06 MB / 476.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.3915, allocations: 74.52 kB / 476.8 MB, free: 10.96 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.03926/0.4308, allocations: 17.6 MB / 494.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4309, allocations: 12 kB / 494.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.431, allocations: 110.8 kB / 494.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.4319, allocations: 0.5554 MB / 495.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.4321, allocations: 138 kB / 495.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.4322, allocations: 36 kB / 495.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008764/0.433, allocations: 0.4888 MB / 495.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.4341, allocations: 0.7275 MB / 496.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.4341, allocations: 0 / 496.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.4342, allocations: 11.91 kB / 496.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.4342, allocations: 14.25 kB / 496.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.4377, allocations: 2.095 MB / 498.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.4389, allocations: 0.8417 MB / 499.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.4394, allocations: 344.3 kB / 499.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.4395, allocations: 12.64 kB / 499.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4396, allocations: 48.91 kB / 499.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 1.884e-06/0.4396, allocations: 0 / 499.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002127/0.4417, allocations: 0.8707 MB / 0.489 GB, free: 7.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002973/0.442, allocations: 0.8228 MB / 0.4898 GB, free: 6.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.4426, allocations: 0.497 MB / 0.4903 GB, free: 6.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.4427, allocations: 25.7 kB / 0.4903 GB, free: 6.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.4428, allocations: 241.7 kB / 0.4905 GB, free: 6.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.443, allocations: 258.7 kB / 0.4908 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4431, allocations: 4 kB / 0.4908 GB, free: 5.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4432, allocations: 396.5 kB / 0.4912 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.4436, allocations: 214.7 kB / 0.4914 GB, free: 5.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.4443, allocations: 475.9 kB / 0.4918 GB, free: 4.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.4447, allocations: 255.4 kB / 0.4921 GB, free: 4.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4447, allocations: 4 kB / 0.4921 GB, free: 4.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002172/0.4469, allocations: 0.9333 MB / 0.493 GB, free: 3.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4469, allocations: 12 kB / 0.493 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4469, allocations: 0 / 0.493 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.4475, allocations: 195.3 kB / 0.4932 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.4483, allocations: 163.8 kB / 0.4933 GB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.4543, allocations: 5.969 MB / 0.4992 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.4549, allocations: 103.3 kB / 0.4993 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.455, allocations: 28.05 kB / 0.4993 GB, free: 12.98 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.0002091/0.4552, allocations: 132.7 kB / 0.4994 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4554, allocations: 86.97 kB / 0.4995 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.4555, allocations: 88.06 kB / 0.4996 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4556, allocations: 8 kB / 0.4996 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4556, allocations: 2.078 kB / 0.4996 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002028/0.4576, allocations: 1.158 MB / 0.5007 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.4609, allocations: 1.815 MB / 0.5025 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4609, allocations: 0 / 0.5025 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000794/0.4617, allocations: 159.8 kB / 0.5027 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.4622, allocations: 162.5 kB / 0.5028 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.4622, allocations: 3.984 kB / 0.5028 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/0.4674, allocations: 4.633 MB / 0.5073 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4674, allocations: 3.984 kB / 0.5073 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002447/0.4699, allocations: 1.277 MB / 0.5086 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004017/0.4739, allocations: 2.656 MB / 0.5112 GB, free: 232 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.4742, allocations: 240.1 kB / 0.5114 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4744, allocations: 4 kB / 0.5114 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.4749, allocations: 51.89 kB / 0.5115 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.475, allocations: 52.56 kB / 0.5115 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.4751, allocations: 16.38 kB / 0.5115 GB, free: 15.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004531/0.4756, allocations: 407.1 kB / 0.5119 GB, free: 15.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001349/0.4769, allocations: 263.7 kB / 0.5122 GB, free: 15.2 MB / 394.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.0001927/0.4771, allocations: 119.1 kB / 0.5123 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.4785, allocations: 1.084 MB / 0.5133 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4785, allocations: 0 / 0.5133 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4796, allocations: 0.6872 MB / 0.514 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.4803, allocations: 190.7 kB / 0.5142 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.4827, allocations: 1.286 MB / 0.5154 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.4834, allocations: 1.064 MB / 0.5165 GB, free: 10.64 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4834, allocations: 0 / 0.5165 GB, free: 10.64 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat