Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8809/0.8809, allocations: 127.4 MB / 134.6 MB, free: 4.051 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 181.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 399.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001049, allocations: 89.83 kB / 476.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3879/0.389, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.5806, allocations: 76.75 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.712, allocations: 2.138 GB / 2.759 GB, free: 175.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/6.712, allocations: 95.94 kB / 2.759 GB, free: 175.4 MB / 0.6511 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 6.977/13.69, allocations: 1.762 GB / 4.521 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/13.69, allocations: 7.906 kB / 4.522 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/13.69, allocations: 187.2 kB / 4.522 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/13.69, allocations: 1.108 MB / 4.523 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/13.69, allocations: 17.84 kB / 4.523 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/13.69, allocations: 35.22 kB / 4.523 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001061/13.7, allocations: 497.7 kB / 4.523 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/13.7, allocations: 0.6827 MB / 4.524 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/13.7, allocations: 3.312 kB / 4.524 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/13.7, allocations: 0 / 4.524 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/13.7, allocations: 16.97 kB / 4.524 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/13.7, allocations: 4.502 MB / 4.528 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/13.7, allocations: 467.1 kB / 4.529 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/13.7, allocations: 245.5 kB / 4.529 GB, free: 154 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/13.7, allocations: 204.5 kB / 4.529 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/13.7, allocations: 257 kB / 4.529 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.015e-06/13.7, allocations: 3.891 kB / 4.529 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.00372/13.71, allocations: 0.9157 MB / 4.53 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/13.71, allocations: 84.41 kB / 4.53 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/13.71, allocations: 0.877 MB / 4.531 GB, free: 153 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/13.71, allocations: 29.27 kB / 4.531 GB, free: 153 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/13.71, allocations: 348 kB / 4.532 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/13.71, allocations: 96.11 kB / 4.532 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/13.71, allocations: 0 / 4.532 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001257/13.71, allocations: 331.5 kB / 4.532 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/13.71, allocations: 322.3 kB / 4.532 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008277/13.71, allocations: 0.6198 MB / 4.533 GB, free: 151.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/13.71, allocations: 376.3 kB / 4.533 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/13.71, allocations: 1.219 kB / 4.533 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002154/13.71, allocations: 0.856 MB / 4.534 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008965/13.72, allocations: 2.011 MB / 4.536 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/13.72, allocations: 10.78 kB / 4.536 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-05/13.72, allocations: 7.938 kB / 4.536 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/13.72, allocations: 186.6 kB / 4.536 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/13.72, allocations: 9.891 kB / 4.536 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/13.72, allocations: 147.6 kB / 4.537 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/13.72, allocations: 27.23 kB / 4.537 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/13.72, allocations: 4.062 kB / 4.537 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008014/13.72, allocations: 414.5 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/13.72, allocations: 8.719 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/13.72, allocations: 8.094 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/13.72, allocations: 110.6 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/13.72, allocations: 13.77 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/13.72, allocations: 74.31 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/13.72, allocations: 25.84 kB / 4.537 GB, free: 149.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (52): * Single equations (assignments): 51 * 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.0002571/13.72, allocations: 125.4 kB / 4.537 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/13.72, allocations: 91.92 kB / 4.537 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/13.72, allocations: 106.4 kB / 4.537 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/13.72, allocations: 3.406 kB / 4.537 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/13.72, allocations: 5.031 kB / 4.537 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/13.72, allocations: 3.453 kB / 4.537 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/13.73, allocations: 1.662 MB / 4.539 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/13.73, allocations: 7.812 kB / 4.539 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/13.73, allocations: 140 kB / 4.539 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/13.73, allocations: 10.84 kB / 4.539 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/13.73, allocations: 7.219 kB / 4.539 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/13.73, allocations: 7.547 kB / 4.539 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/13.73, allocations: 2.094 kB / 4.539 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001615/13.73, allocations: 0.8499 MB / 4.54 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002189/13.73, allocations: 1.287 MB / 4.541 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/13.73, allocations: 166.1 kB / 4.542 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/13.73, allocations: 3.594 kB / 4.542 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/13.73, allocations: 114.8 kB / 4.542 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/13.73, allocations: 30.38 kB / 4.542 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/13.73, allocations: 15.97 kB / 4.542 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001848/13.74, allocations: 0.6826 MB / 4.542 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004382/13.74, allocations: 0.6261 MB / 4.543 GB, free: 146.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 28 * 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.002206/13.74, allocations: 1.032 MB / 4.544 GB, free: 146 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002157/13.74, allocations: 0.9927 MB / 4.545 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/13.74, allocations: 4.688 kB / 4.545 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/13.75, allocations: 315 kB / 4.545 GB, free: 145.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/13.75, allocations: 371.7 kB / 4.546 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/13.75, allocations: 1.588 MB / 4.547 GB, free: 145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/13.75, allocations: 1.317 MB / 4.548 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.145e-06/13.75, allocations: 0 / 4.548 GB, free: 144.2 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)