Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 189.2 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007973/0.0007973, allocations: 93.27 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3327/0.3335, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.5049, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.094/4.599, allocations: 2.182 GB / 3.067 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/4.599, allocations: 91.94 kB / 3.067 GB, free: 223 MB / 0.8698 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.04/9.64, allocations: 1.727 GB / 4.793 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/9.64, allocations: 8 kB / 4.793 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009331/9.641, allocations: 186.5 kB / 4.793 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/9.643, allocations: 1.095 MB / 4.795 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/9.643, allocations: 16 kB / 4.795 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/9.643, allocations: 36 kB / 4.795 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007255/9.644, allocations: 489.7 kB / 4.795 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/9.645, allocations: 0.6928 MB / 4.796 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/9.645, allocations: 3.984 kB / 4.796 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/9.645, allocations: 4 kB / 4.796 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/9.645, allocations: 15.91 kB / 4.796 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/9.648, allocations: 4.667 MB / 4.8 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/9.649, allocations: 446.5 kB / 4.801 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/9.649, allocations: 249.8 kB / 4.801 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/9.649, allocations: 198.1 kB / 4.801 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/9.65, allocations: 264.5 kB / 4.801 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.326e-06/9.65, allocations: 0 / 4.801 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0008908/9.65, allocations: 0.4922 MB / 4.802 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/9.651, allocations: 93 kB / 4.802 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/9.651, allocations: 0.8713 MB / 4.803 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/9.651, allocations: 29.7 kB / 4.803 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/9.652, allocations: 336.2 kB / 4.803 GB, free: 141 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/9.652, allocations: 110.4 kB / 4.803 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/9.652, allocations: 4 kB / 4.803 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/9.652, allocations: 322 kB / 4.804 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/9.652, allocations: 188.8 kB / 4.804 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/9.652, allocations: 0.5046 MB / 4.804 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/9.653, allocations: 278.1 kB / 4.805 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/9.653, allocations: 4 kB / 4.805 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007612/9.653, allocations: 0.625 MB / 4.805 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000507/9.654, allocations: 2.097 MB / 4.807 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/9.654, allocations: 19.92 kB / 4.807 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/9.654, allocations: 11.98 kB / 4.807 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/9.654, allocations: 123.8 kB / 4.807 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/9.655, allocations: 8 kB / 4.807 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/9.655, allocations: 79.53 kB / 4.807 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/9.655, allocations: 27.98 kB / 4.807 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/9.655, allocations: 4 kB / 4.807 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005512/9.656, allocations: 415.8 kB / 4.808 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/9.656, allocations: 4 kB / 4.808 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/9.656, allocations: 8.656 kB / 4.808 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/9.656, allocations: 119.9 kB / 4.808 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/9.656, allocations: 15.88 kB / 4.808 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/9.657, allocations: 79.53 kB / 4.808 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/9.657, allocations: 24 kB / 4.808 GB, free: 135.7 MB / 0.8698 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.000112/9.657, allocations: 132.8 kB / 4.808 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/9.658, allocations: 90.88 kB / 4.808 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005727/9.658, allocations: 454.5 kB / 4.809 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/9.658, allocations: 4 kB / 4.809 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/9.658, allocations: 4 kB / 4.809 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/9.658, allocations: 3.984 kB / 4.809 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/9.66, allocations: 1.275 MB / 4.81 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/9.66, allocations: 8.219 kB / 4.81 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/9.66, allocations: 75.88 kB / 4.81 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/9.66, allocations: 4 kB / 4.81 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/9.66, allocations: 4 kB / 4.81 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/9.66, allocations: 7.984 kB / 4.81 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/9.66, allocations: 3.938 kB / 4.81 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004795/9.661, allocations: 0.6394 MB / 4.811 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006693/9.661, allocations: 1.074 MB / 4.812 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/9.662, allocations: 211.9 kB / 4.812 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/9.662, allocations: 4 kB / 4.812 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/9.662, allocations: 47.86 kB / 4.812 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/9.662, allocations: 35.86 kB / 4.812 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/9.662, allocations: 16 kB / 4.812 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006771/9.663, allocations: 0.6845 MB / 4.813 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002652/9.666, allocations: 0.6244 MB / 4.813 GB, free: 130 MB / 0.8698 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.001388/9.667, allocations: 1.023 MB / 4.814 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009407/9.668, allocations: 0.7318 MB / 4.815 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/9.668, allocations: 0 / 4.815 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/9.668, allocations: 197.8 kB / 4.815 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/9.67, allocations: 370.3 kB / 4.816 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/9.673, allocations: 1.377 MB / 4.817 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/9.673, allocations: 1.275 MB / 4.818 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/9.673, allocations: 0 / 4.818 GB, free: 125.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)