Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.00167/0.00167, allocations: 185.3 kB / 366.3 MB, free: 2.012 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.824/1.824, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0009192/0.0009189, allocations: 88.09 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.312/0.3129, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/1.162, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.725/5.887, allocations: 2.064 GB / 3.036 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/5.887, allocations: 91.94 kB / 3.036 GB, free: 0.9062 MB / 0.948 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.675/12.56, allocations: 1.789 GB / 4.826 GB, free: 25.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/12.56, allocations: 8 kB / 4.826 GB, free: 25.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/12.56, allocations: 194.4 kB / 4.826 GB, free: 25.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/12.57, allocations: 1.088 MB / 4.827 GB, free: 24.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/12.57, allocations: 19.98 kB / 4.827 GB, free: 24.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/12.57, allocations: 39.94 kB / 4.827 GB, free: 24.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008299/12.57, allocations: 493.7 kB / 4.828 GB, free: 24.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/12.57, allocations: 0.685 MB / 4.828 GB, free: 23.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/12.57, allocations: 3.938 kB / 4.828 GB, free: 23.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/12.57, allocations: 4 kB / 4.828 GB, free: 23.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/12.57, allocations: 12 kB / 4.828 GB, free: 23.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/12.57, allocations: 4.671 MB / 4.833 GB, free: 18.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/12.57, allocations: 453.2 kB / 4.833 GB, free: 17.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/12.57, allocations: 251.6 kB / 4.834 GB, free: 17.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/12.57, allocations: 194.2 kB / 4.834 GB, free: 17.31 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/12.57, allocations: 273 kB / 4.834 GB, free: 17.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.885e-06/12.57, allocations: 0 / 4.834 GB, free: 17.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001163/12.58, allocations: 0.4903 MB / 4.835 GB, free: 16.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/12.58, allocations: 85.09 kB / 4.835 GB, free: 16.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/12.58, allocations: 0.8791 MB / 4.835 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/12.58, allocations: 29.7 kB / 4.836 GB, free: 15.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/12.58, allocations: 336.8 kB / 4.836 GB, free: 15.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.008e-05/12.58, allocations: 106.5 kB / 4.836 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/12.58, allocations: 224 / 4.836 GB, free: 15.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/12.58, allocations: 325.9 kB / 4.836 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/12.58, allocations: 192.7 kB / 4.836 GB, free: 14.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/12.58, allocations: 0.5038 MB / 4.837 GB, free: 13.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/12.58, allocations: 286.1 kB / 4.837 GB, free: 13.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/12.58, allocations: 4 kB / 4.837 GB, free: 13.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008786/12.58, allocations: 0.6213 MB / 4.838 GB, free: 12.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004333/12.58, allocations: 2.097 MB / 4.84 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/12.58, allocations: 8 kB / 4.84 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/12.58, allocations: 8 kB / 4.84 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/12.58, allocations: 115.8 kB / 4.84 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/12.58, allocations: 11.94 kB / 4.84 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/12.58, allocations: 91.52 kB / 4.84 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/12.58, allocations: 24 kB / 4.84 GB, free: 10.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/12.58, allocations: 4 kB / 4.84 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005334/12.58, allocations: 411.3 kB / 4.841 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/12.58, allocations: 8 kB / 4.841 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/12.58, allocations: 8 kB / 4.841 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/12.58, allocations: 116.5 kB / 4.841 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/12.58, allocations: 15.97 kB / 4.841 GB, free: 9.922 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/12.58, allocations: 79.53 kB / 4.841 GB, free: 9.844 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/12.58, allocations: 24 kB / 4.841 GB, free: 9.82 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.0001703/12.58, allocations: 128.8 kB / 4.841 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/12.58, allocations: 90.88 kB / 4.841 GB, free: 9.598 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/12.58, allocations: 470.3 kB / 4.841 GB, free: 9.125 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/12.58, allocations: 4 kB / 4.841 GB, free: 9.121 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/12.58, allocations: 0 / 4.841 GB, free: 9.121 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/12.58, allocations: 0 / 4.841 GB, free: 9.121 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/12.59, allocations: 1.277 MB / 4.843 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/12.59, allocations: 3.938 kB / 4.843 GB, free: 7.773 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/12.59, allocations: 76.16 kB / 4.843 GB, free: 7.699 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/12.59, allocations: 4 kB / 4.843 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/12.59, allocations: 8 kB / 4.843 GB, free: 7.688 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/12.59, allocations: 11.88 kB / 4.843 GB, free: 7.676 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/12.59, allocations: 0 / 4.843 GB, free: 7.676 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005685/12.59, allocations: 0.6484 MB / 4.843 GB, free: 6.953 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008006/12.59, allocations: 1.073 MB / 4.844 GB, free: 5.797 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/12.59, allocations: 207.9 kB / 4.845 GB, free: 5.574 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/12.59, allocations: 7.984 kB / 4.845 GB, free: 5.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/12.59, allocations: 51.8 kB / 4.845 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/12.59, allocations: 31.81 kB / 4.845 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/12.59, allocations: 8 kB / 4.845 GB, free: 5.477 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006977/12.59, allocations: 0.6884 MB / 4.845 GB, free: 4.777 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00322/12.59, allocations: 0.6244 MB / 4.846 GB, free: 4.152 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.001559/12.59, allocations: 1.033 MB / 4.847 GB, free: 3.113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001038/12.59, allocations: 0.7299 MB / 4.848 GB, free: 2.371 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/12.6, allocations: 0 / 4.848 GB, free: 2.371 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/12.6, allocations: 187.7 kB / 4.848 GB, free: 2.188 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/12.6, allocations: 368.5 kB / 4.848 GB, free: 1.828 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/12.6, allocations: 1.382 MB / 4.85 GB, free: 404 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4163/13.02, allocations: 1.281 MB / 4.851 GB, free: 358.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/13.02, allocations: 0 / 4.851 GB, free: 358.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)