Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.253/1.253, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.001002/0.001002, allocations: 189.2 kB / 316 MB, free: 3.512 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.229/1.229, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0009846/0.0009844, allocations: 97.58 kB / 0.671 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3943/0.3953, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.5816, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.132/4.714, allocations: 2.185 GB / 3.069 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/4.714, allocations: 87.95 kB / 3.069 GB, free: 219.7 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 4.708/9.423, allocations: 1.738 GB / 4.808 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/9.423, allocations: 12 kB / 4.808 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/9.423, allocations: 186.5 kB / 4.808 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/9.426, allocations: 1.113 MB / 4.809 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/9.426, allocations: 16 kB / 4.809 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/9.426, allocations: 40 kB / 4.809 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000619/9.426, allocations: 493.7 kB / 4.809 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/9.427, allocations: 0.6849 MB / 4.81 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/9.427, allocations: 0 / 4.81 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/9.427, allocations: 8 kB / 4.81 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/9.427, allocations: 15.94 kB / 4.81 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/9.43, allocations: 4.662 MB / 4.815 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/9.431, allocations: 453.8 kB / 4.815 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/9.431, allocations: 246.8 kB / 4.815 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/9.431, allocations: 199.9 kB / 4.816 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/9.432, allocations: 263.2 kB / 4.816 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/9.432, allocations: 4 kB / 4.816 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001617/9.433, allocations: 0.7724 MB / 4.817 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/9.433, allocations: 85.09 kB / 4.817 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/9.434, allocations: 0.8756 MB / 4.817 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/9.434, allocations: 29.7 kB / 4.817 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/9.434, allocations: 329 kB / 4.818 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/9.435, allocations: 110.5 kB / 4.818 GB, free: 125 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/9.435, allocations: 3.938 kB / 4.818 GB, free: 125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/9.435, allocations: 333.9 kB / 4.818 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/9.435, allocations: 184.8 kB / 4.818 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/9.435, allocations: 0.5038 MB / 4.819 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/9.435, allocations: 270.1 kB / 4.819 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/9.436, allocations: 0 / 4.819 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001452/9.437, allocations: 0.901 MB / 4.82 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003121/9.437, allocations: 2.097 MB / 4.822 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/9.437, allocations: 4 kB / 4.822 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/9.438, allocations: 240.6 kB / 4.822 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/9.438, allocations: 63.91 kB / 4.822 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008771/9.439, allocations: 1.139 MB / 4.823 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/9.44, allocations: 91.44 kB / 4.824 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/9.44, allocations: 24 kB / 4.824 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/9.44, allocations: 4 kB / 4.824 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009405/9.441, allocations: 0.5867 MB / 4.824 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/9.441, allocations: 8 kB / 4.824 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/9.441, allocations: 203.2 kB / 4.824 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/9.441, allocations: 75.78 kB / 4.824 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/9.444, allocations: 2.758 MB / 4.827 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/9.445, allocations: 79.69 kB / 4.827 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/9.445, allocations: 24 kB / 4.827 GB, free: 115 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/9.445, allocations: 128.7 kB / 4.827 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/9.445, allocations: 90.88 kB / 4.827 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009365/9.446, allocations: 0.6599 MB / 4.828 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/9.446, allocations: 4 kB / 4.828 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/9.446, allocations: 4 kB / 4.828 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/9.446, allocations: 0 / 4.828 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/9.448, allocations: 1.484 MB / 4.83 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/9.448, allocations: 4 kB / 4.83 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/9.448, allocations: 32.14 kB / 4.83 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/9.448, allocations: 180.7 kB / 4.83 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/9.448, allocations: 8 kB / 4.83 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000682/9.449, allocations: 1.017 MB / 4.831 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/9.449, allocations: 4 kB / 4.831 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007525/9.45, allocations: 0.8564 MB / 4.832 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009349/9.451, allocations: 1.289 MB / 4.833 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/9.451, allocations: 215.8 kB / 4.833 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/9.451, allocations: 7.938 kB / 4.833 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/9.451, allocations: 47.86 kB / 4.833 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/9.452, allocations: 35.86 kB / 4.833 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/9.452, allocations: 12 kB / 4.833 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006636/9.452, allocations: 0.6847 MB / 4.834 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00295/9.455, allocations: 0.6635 MB / 4.834 GB, free: 107.3 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/9.457, allocations: 1.104 MB / 4.836 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001468/9.458, allocations: 0.9198 MB / 4.836 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/9.458, allocations: 0 / 4.836 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003263/9.459, allocations: 206.3 kB / 4.837 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/9.46, allocations: 379 kB / 4.837 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/9.462, allocations: 1.39 MB / 4.838 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/9.463, allocations: 1.259 MB / 4.84 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/9.463, allocations: 3.938 kB / 4.84 GB, free: 101.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)