Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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/BuildingSystems 2.0.0-master/package.mo): time 0.7558/0.7558, allocations: 141.8 MB / 149.1 MB, free: 13.54 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 182.5 kB / 181.9 MB, free: 10.19 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.4 MB / 436 MB, free: 2.703 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 94.36 kB / 0.507 GB, free: 17.72 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 274 kB / 0.5884 GB, free: 4.184 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4972/0.499, allocations: 89.64 MB / 0.676 GB, free: 136.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.6774, allocations: 82.78 MB / 0.7568 GB, free: 83.87 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.077/4.755, allocations: 1.831 GB / 2.588 GB, free: 127.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/4.755, allocations: 99.05 kB / 2.588 GB, free: 127.5 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 5.748/10.5, allocations: 1.817 GB / 4.405 GB, free: 176.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/10.5, allocations: 9.25 kB / 4.405 GB, free: 176.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/10.5, allocations: 190.4 kB / 4.406 GB, free: 176.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/10.51, allocations: 1.397 MB / 4.407 GB, free: 174.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/10.51, allocations: 23.5 kB / 4.407 GB, free: 174.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/10.51, allocations: 36 kB / 4.407 GB, free: 174.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007456/10.51, allocations: 0.5056 MB / 4.408 GB, free: 174.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/10.51, allocations: 0.7074 MB / 4.408 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/10.51, allocations: 0 / 4.408 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/10.51, allocations: 4 kB / 4.408 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/10.51, allocations: 12 kB / 4.408 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/10.51, allocations: 4.156 MB / 4.412 GB, free: 169 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/10.51, allocations: 458.1 kB / 4.413 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/10.51, allocations: 323.3 kB / 4.413 GB, free: 168.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/10.51, allocations: 197 kB / 4.413 GB, free: 168 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/10.52, allocations: 282.1 kB / 4.413 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/10.52, allocations: 0 / 4.413 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001046/10.52, allocations: 0.5241 MB / 4.414 GB, free: 167.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/10.52, allocations: 85.22 kB / 4.414 GB, free: 167.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/10.52, allocations: 0.886 MB / 4.415 GB, free: 166.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/10.52, allocations: 29.7 kB / 4.415 GB, free: 166.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/10.52, allocations: 336.2 kB / 4.415 GB, free: 165.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/10.52, allocations: 106.4 kB / 4.415 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/10.52, allocations: 0 / 4.415 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.117e-05/10.52, allocations: 330 kB / 4.416 GB, free: 165.4 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/10.52, allocations: 200.5 kB / 4.416 GB, free: 165.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/10.52, allocations: 0.516 MB / 4.416 GB, free: 164.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/10.52, allocations: 289.3 kB / 4.417 GB, free: 164.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/10.52, allocations: 0 / 4.417 GB, free: 164.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008967/10.52, allocations: 0.6567 MB / 4.417 GB, free: 163.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/10.52, allocations: 2.098 MB / 4.419 GB, free: 161.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/10.52, allocations: 8 kB / 4.419 GB, free: 161.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/10.52, allocations: 11.41 kB / 4.419 GB, free: 161.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/10.52, allocations: 112.7 kB / 4.42 GB, free: 161.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/10.52, allocations: 15.92 kB / 4.42 GB, free: 161.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/10.52, allocations: 102.9 kB / 4.42 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/10.52, allocations: 27.98 kB / 4.42 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/10.52, allocations: 4 kB / 4.42 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005478/10.52, allocations: 445.1 kB / 4.42 GB, free: 160.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/10.52, allocations: 8 kB / 4.42 GB, free: 160.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/10.52, allocations: 8 kB / 4.42 GB, free: 160.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/10.52, allocations: 115.6 kB / 4.42 GB, free: 160.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/10.52, allocations: 11.94 kB / 4.42 GB, free: 160.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/10.52, allocations: 91.31 kB / 4.42 GB, free: 160.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/10.52, allocations: 26.88 kB / 4.42 GB, free: 160.4 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/10.52, allocations: 128.7 kB / 4.42 GB, free: 160.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/10.52, allocations: 90.88 kB / 4.421 GB, free: 160.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/10.52, allocations: 490.8 kB / 4.421 GB, free: 159.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/10.52, allocations: 5.469 kB / 4.421 GB, free: 159.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/10.52, allocations: 0 / 4.421 GB, free: 159.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/10.52, allocations: 0 / 4.421 GB, free: 159.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/10.53, allocations: 1.37 MB / 4.422 GB, free: 158.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/10.53, allocations: 4 kB / 4.422 GB, free: 158.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/10.53, allocations: 75.56 kB / 4.422 GB, free: 158.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/10.53, allocations: 4 kB / 4.422 GB, free: 158.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/10.53, allocations: 15.84 kB / 4.422 GB, free: 158.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/10.53, allocations: 0 / 4.422 GB, free: 158.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/10.53, allocations: 4 kB / 4.422 GB, free: 158.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006389/10.53, allocations: 0.6673 MB / 4.423 GB, free: 157.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007616/10.53, allocations: 1.11 MB / 4.424 GB, free: 156.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/10.53, allocations: 219.9 kB / 4.424 GB, free: 156 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/10.53, allocations: 4 kB / 4.424 GB, free: 156 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/10.53, allocations: 71.61 kB / 4.424 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/10.53, allocations: 27.95 kB / 4.424 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/10.53, allocations: 15.56 kB / 4.425 GB, free: 155.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008931/10.53, allocations: 0.6886 MB / 4.425 GB, free: 155.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003398/10.53, allocations: 0.6671 MB / 4.426 GB, free: 154.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00153/10.54, allocations: 1.115 MB / 4.427 GB, free: 153.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001158/10.54, allocations: 0.7844 MB / 4.428 GB, free: 152.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/10.54, allocations: 0 / 4.428 GB, free: 152.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/10.54, allocations: 208.5 kB / 4.428 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/10.54, allocations: 0.5257 MB / 4.428 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/10.54, allocations: 1.397 MB / 4.43 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/10.54, allocations: 1.275 MB / 4.431 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of SimCode: time 6.91e-07/10.54, allocations: 4 kB / 4.431 GB, free: 149.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)