Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.358/1.358, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001043/0.001043, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.117/1.117, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007637/0.0007638, allocations: 93.53 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.1933, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.6674, allocations: 115.3 MB / 0.9638 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.576/4.243, allocations: 2.063 GB / 3.027 GB, free: 63.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/4.243, allocations: 88.94 kB / 3.027 GB, free: 63.58 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 5.261/9.504, allocations: 1.789 GB / 4.816 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/9.504, allocations: 8 kB / 4.816 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/9.505, allocations: 194.4 kB / 4.816 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/9.508, allocations: 1.081 MB / 4.817 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/9.508, allocations: 19.91 kB / 4.817 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/9.508, allocations: 39.94 kB / 4.817 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007372/9.509, allocations: 493.7 kB / 4.818 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/9.509, allocations: 0.6856 MB / 4.819 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/9.509, allocations: 11.92 kB / 4.819 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/9.509, allocations: 4 kB / 4.819 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/9.509, allocations: 12 kB / 4.819 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/9.513, allocations: 4.657 MB / 4.823 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/9.514, allocations: 459.5 kB / 4.824 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/9.514, allocations: 248.7 kB / 4.824 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/9.514, allocations: 194.2 kB / 4.824 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/9.514, allocations: 266 kB / 4.824 GB, free: 106 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/9.514, allocations: 0 / 4.824 GB, free: 106 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008951/9.515, allocations: 0.4921 MB / 4.825 GB, free: 105.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/9.515, allocations: 93.08 kB / 4.825 GB, free: 105.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/9.516, allocations: 0.8713 MB / 4.826 GB, free: 104.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/9.516, allocations: 29.7 kB / 4.826 GB, free: 104.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/9.516, allocations: 341 kB / 4.826 GB, free: 104.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/9.516, allocations: 102.5 kB / 4.826 GB, free: 104 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/9.517, allocations: 224 / 4.826 GB, free: 104 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/9.517, allocations: 326 kB / 4.826 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/9.517, allocations: 196.7 kB / 4.827 GB, free: 103.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/9.517, allocations: 0.5116 MB / 4.827 GB, free: 102.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/9.517, allocations: 272.8 kB / 4.827 GB, free: 102.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/9.517, allocations: 4 kB / 4.827 GB, free: 102.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008135/9.518, allocations: 0.625 MB / 4.828 GB, free: 101.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004353/9.519, allocations: 2.101 MB / 4.83 GB, free: 99.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/9.519, allocations: 11.98 kB / 4.83 GB, free: 99.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/9.519, allocations: 8 kB / 4.83 GB, free: 99.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/9.519, allocations: 111.9 kB / 4.83 GB, free: 99.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/9.519, allocations: 19.83 kB / 4.83 GB, free: 99.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000795/9.52, allocations: 83.47 kB / 4.83 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/9.52, allocations: 28 kB / 4.83 GB, free: 99.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/9.52, allocations: 0 / 4.83 GB, free: 99.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000494/9.521, allocations: 415.9 kB / 4.831 GB, free: 99.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/9.521, allocations: 4 kB / 4.831 GB, free: 99.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/9.521, allocations: 16.03 kB / 4.831 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/9.521, allocations: 111.8 kB / 4.831 GB, free: 98.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/9.521, allocations: 11.98 kB / 4.831 GB, free: 98.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/9.522, allocations: 75.69 kB / 4.831 GB, free: 98.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/9.522, allocations: 24 kB / 4.831 GB, free: 98.79 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.0001365/9.522, allocations: 132.5 kB / 4.831 GB, free: 98.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/9.522, allocations: 90.88 kB / 4.831 GB, free: 98.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/9.523, allocations: 462.4 kB / 4.832 GB, free: 98.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/9.523, allocations: 7.906 kB / 4.832 GB, free: 98.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/9.523, allocations: 4 kB / 4.832 GB, free: 98.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/9.523, allocations: 0 / 4.832 GB, free: 98.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/9.524, allocations: 1.277 MB / 4.833 GB, free: 96.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/9.524, allocations: 4 kB / 4.833 GB, free: 96.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/9.525, allocations: 71.88 kB / 4.833 GB, free: 96.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/9.525, allocations: 4 kB / 4.833 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/9.525, allocations: 7.906 kB / 4.833 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/9.525, allocations: 7.938 kB / 4.833 GB, free: 96.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/9.525, allocations: 192 / 4.833 GB, free: 96.65 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005186/9.525, allocations: 0.6485 MB / 4.834 GB, free: 95.92 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006646/9.526, allocations: 1.075 MB / 4.835 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/9.526, allocations: 215.8 kB / 4.835 GB, free: 94.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/9.527, allocations: 7.984 kB / 4.835 GB, free: 94.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/9.527, allocations: 51.73 kB / 4.835 GB, free: 94.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/9.527, allocations: 27.97 kB / 4.835 GB, free: 94.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/9.527, allocations: 19.98 kB / 4.835 GB, free: 94.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006219/9.528, allocations: 0.6806 MB / 4.836 GB, free: 93.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002634/9.53, allocations: 0.6127 MB / 4.836 GB, free: 93.12 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.001165/9.532, allocations: 1.037 MB / 4.837 GB, free: 92.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008209/9.532, allocations: 0.7253 MB / 4.838 GB, free: 91.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/9.532, allocations: 7.938 kB / 4.838 GB, free: 91.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/9.533, allocations: 185.4 kB / 4.838 GB, free: 91.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/9.534, allocations: 379.3 kB / 4.838 GB, free: 90.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/9.536, allocations: 1.378 MB / 4.84 GB, free: 89.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/9.537, allocations: 1.279 MB / 4.841 GB, free: 88.05 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/9.537, allocations: 0 / 4.841 GB, free: 88.05 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)