Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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/Buildings 8.0.0/package.mo): time 2.304/2.304, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001658, allocations: 177.3 kB / 360.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 0.6187 GB, free: 13.26 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 80 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.291/0.2923, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.9475, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.1/6.048, allocations: 2.063 GB / 3.025 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/6.048, allocations: 88.73 kB / 3.025 GB, free: 273.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 8.167/14.22, allocations: 1.789 GB / 4.815 GB, free: 20.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/14.22, allocations: 12 kB / 4.815 GB, free: 20.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/14.22, allocations: 186.5 kB / 4.815 GB, free: 20.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006577/14.23, allocations: 1.085 MB / 4.816 GB, free: 19.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/14.23, allocations: 20 kB / 4.816 GB, free: 19.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/14.23, allocations: 40 kB / 4.816 GB, free: 19.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001359/14.23, allocations: 489.7 kB / 4.817 GB, free: 18.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/14.23, allocations: 0.6817 MB / 4.817 GB, free: 18.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/14.23, allocations: 7.938 kB / 4.817 GB, free: 18.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/14.23, allocations: 8 kB / 4.817 GB, free: 18.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/14.23, allocations: 16 kB / 4.817 GB, free: 18.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006581/14.24, allocations: 4.671 MB / 4.822 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/14.24, allocations: 457.2 kB / 4.822 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/14.24, allocations: 244.7 kB / 4.823 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/14.24, allocations: 198.2 kB / 4.823 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/14.24, allocations: 265.6 kB / 4.823 GB, free: 11.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.376e-06/14.24, allocations: 0 / 4.823 GB, free: 11.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001766/14.24, allocations: 0.4942 MB / 4.824 GB, free: 11.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/14.24, allocations: 85.09 kB / 4.824 GB, free: 11.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/14.24, allocations: 0.8713 MB / 4.824 GB, free: 10.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/14.24, allocations: 25.7 kB / 4.824 GB, free: 10.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/14.24, allocations: 344.9 kB / 4.825 GB, free: 10.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/14.24, allocations: 106.5 kB / 4.825 GB, free: 9.926 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/14.24, allocations: 0 / 4.825 GB, free: 9.926 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/14.24, allocations: 329.9 kB / 4.825 GB, free: 9.598 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/14.24, allocations: 188.8 kB / 4.825 GB, free: 9.414 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/14.24, allocations: 0.4999 MB / 4.826 GB, free: 8.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/14.24, allocations: 277.9 kB / 4.826 GB, free: 8.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/14.24, allocations: 7.938 kB / 4.826 GB, free: 8.492 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001592/14.25, allocations: 0.6239 MB / 4.827 GB, free: 7.863 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004276/14.25, allocations: 2.096 MB / 4.829 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/14.25, allocations: 8 kB / 4.829 GB, free: 5.598 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/14.25, allocations: 11.94 kB / 4.829 GB, free: 5.586 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/14.25, allocations: 119.8 kB / 4.829 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/14.25, allocations: 11.94 kB / 4.829 GB, free: 5.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/14.25, allocations: 87.75 kB / 4.829 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/14.25, allocations: 27.98 kB / 4.829 GB, free: 5.344 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/14.25, allocations: 7.938 kB / 4.829 GB, free: 5.336 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009666/14.25, allocations: 411.5 kB / 4.829 GB, free: 4.934 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/14.25, allocations: 8 kB / 4.83 GB, free: 4.926 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/14.25, allocations: 8 kB / 4.83 GB, free: 4.918 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/14.25, allocations: 116.2 kB / 4.83 GB, free: 4.805 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/14.25, allocations: 8 kB / 4.83 GB, free: 4.797 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/14.25, allocations: 79.53 kB / 4.83 GB, free: 4.719 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/14.25, allocations: 24 kB / 4.83 GB, free: 4.695 MB / 0.948 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 (53): * Single equations (assignments): 52 * 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.0002087/14.25, allocations: 125.6 kB / 4.83 GB, free: 4.566 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/14.25, allocations: 94.88 kB / 4.83 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/14.25, allocations: 462.4 kB / 4.83 GB, free: 4.016 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/14.25, allocations: 4 kB / 4.83 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/14.25, allocations: 0 / 4.83 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/14.25, allocations: 4.219 kB / 4.83 GB, free: 4.008 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/14.26, allocations: 1.282 MB / 4.832 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/14.26, allocations: 0 / 4.832 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/14.26, allocations: 72.16 kB / 4.832 GB, free: 2.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/14.26, allocations: 7.984 kB / 4.832 GB, free: 2.582 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/14.26, allocations: 15.92 kB / 4.832 GB, free: 2.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/14.26, allocations: 4 kB / 4.832 GB, free: 2.562 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/14.26, allocations: 4 kB / 4.832 GB, free: 2.559 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001046/14.26, allocations: 0.6491 MB / 4.832 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001131/14.26, allocations: 1.069 MB / 4.833 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/14.26, allocations: 207.9 kB / 4.834 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/14.26, allocations: 4 kB / 4.834 GB, free: 464 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/14.26, allocations: 51.8 kB / 4.834 GB, free: 412 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/14.26, allocations: 35.8 kB / 4.834 GB, free: 376 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/14.26, allocations: 16 kB / 4.834 GB, free: 360 kB / 0.948 GB Notification: Performance of sort global known variables: time 0.3493/14.61, allocations: 0.6777 MB / 4.834 GB, free: 363.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005648/14.62, allocations: 0.6288 MB / 4.835 GB, free: 363.2 MB / 0.948 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 (31): * Single equations (assignments): 29 * 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.001848/14.62, allocations: 1.028 MB / 4.836 GB, free: 363.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002173/14.62, allocations: 0.7318 MB / 4.837 GB, free: 363 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/14.62, allocations: 0 / 4.837 GB, free: 363 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/14.62, allocations: 197.1 kB / 4.837 GB, free: 363 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/14.63, allocations: 371.4 kB / 4.837 GB, free: 363 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/14.63, allocations: 1.381 MB / 4.839 GB, free: 362.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/14.63, allocations: 1.277 MB / 4.84 GB, free: 361.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/14.63, allocations: 0 / 4.84 GB, free: 361.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)