Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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 10.0.0-master/package.mo): time 2.132/2.132, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 185.2 kB / 490.8 MB, free: 1.891 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 86.17 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7452/0.7462, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/1.077, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.92/6.997, allocations: 1.872 GB / 3.084 GB, free: 385.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/6.997, allocations: 88.19 kB / 3.084 GB, free: 385.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 4.057/11.05, allocations: 1.091 GB / 4.175 GB, free: 196.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/11.05, allocations: 11.94 kB / 4.175 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/11.06, allocations: 198.4 kB / 4.175 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/11.06, allocations: 1.46 MB / 4.176 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/11.06, allocations: 16 kB / 4.176 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/11.06, allocations: 40 kB / 4.176 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/11.06, allocations: 0.7248 MB / 4.177 GB, free: 193.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/11.06, allocations: 0.8604 MB / 4.178 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/11.06, allocations: 7.938 kB / 4.178 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/11.06, allocations: 0 / 4.178 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/11.06, allocations: 16 kB / 4.178 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/11.07, allocations: 4.704 MB / 4.182 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/11.07, allocations: 0.5135 MB / 4.183 GB, free: 187.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/11.07, allocations: 429.3 kB / 4.183 GB, free: 187 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/11.07, allocations: 200.8 kB / 4.183 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/11.07, allocations: 293.2 kB / 4.184 GB, free: 186.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/11.07, allocations: 0 / 4.184 GB, free: 186.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=35): time 0.001982/11.07, allocations: 0.8896 MB / 4.185 GB, free: 185.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/11.07, allocations: 85.11 kB / 4.185 GB, free: 185.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/11.07, allocations: 0.9181 MB / 4.186 GB, free: 184.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/11.07, allocations: 33.7 kB / 4.186 GB, free: 184.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/11.07, allocations: 354.5 kB / 4.186 GB, free: 184.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/11.07, allocations: 118.2 kB / 4.186 GB, free: 184.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/11.07, allocations: 0 / 4.186 GB, free: 184.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/11.07, allocations: 326 kB / 4.186 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/11.07, allocations: 216.9 kB / 4.187 GB, free: 183.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/11.07, allocations: 0.5498 MB / 4.187 GB, free: 182.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/11.07, allocations: 318.5 kB / 4.187 GB, free: 182.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/11.07, allocations: 4 kB / 4.187 GB, free: 182.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001698/11.08, allocations: 1 MB / 4.188 GB, free: 181.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/11.08, allocations: 2.108 MB / 4.191 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/11.08, allocations: 4 kB / 4.191 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/11.08, allocations: 306.1 kB / 4.191 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/11.08, allocations: 67.89 kB / 4.191 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/11.08, allocations: 1.322 MB / 4.192 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/11.08, allocations: 111.5 kB / 4.192 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/11.08, allocations: 31.98 kB / 4.192 GB, free: 177.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/11.08, allocations: 4 kB / 4.192 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/11.08, allocations: 0.6918 MB / 4.193 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/11.08, allocations: 7.984 kB / 4.193 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/11.08, allocations: 231.1 kB / 4.193 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/11.08, allocations: 79.88 kB / 4.193 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/11.09, allocations: 2.937 MB / 4.196 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/11.09, allocations: 103.5 kB / 4.196 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/11.09, allocations: 35.88 kB / 4.196 GB, free: 173.2 MB / 1.167 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002139/11.09, allocations: 122.7 kB / 4.196 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/11.09, allocations: 106.7 kB / 4.196 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/11.09, allocations: 0.7769 MB / 4.197 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/11.09, allocations: 4 kB / 4.197 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/11.09, allocations: 0 / 4.197 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/11.09, allocations: 3.906 kB / 4.197 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/11.09, allocations: 1.712 MB / 4.199 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/11.09, allocations: 4.031 kB / 4.199 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/11.09, allocations: 35.91 kB / 4.199 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/11.09, allocations: 258 kB / 4.199 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/11.09, allocations: 4 kB / 4.199 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/11.09, allocations: 1.148 MB / 4.2 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/11.09, allocations: 7.938 kB / 4.2 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001033/11.09, allocations: 0.9708 MB / 4.201 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001283/11.1, allocations: 1.421 MB / 4.203 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/11.1, allocations: 227.7 kB / 4.203 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/11.1, allocations: 4 kB / 4.203 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/11.1, allocations: 75.75 kB / 4.203 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/11.1, allocations: 43.84 kB / 4.203 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/11.1, allocations: 12 kB / 4.203 GB, free: 166.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0007856/11.1, allocations: 0.718 MB / 4.204 GB, free: 165.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003295/11.1, allocations: 0.7921 MB / 4.205 GB, free: 164.5 MB / 1.167 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/11.1, allocations: 1.283 MB / 4.206 GB, free: 163.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002328/11.11, allocations: 1.152 MB / 4.207 GB, free: 162.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/11.11, allocations: 0 / 4.207 GB, free: 162.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005083/11.11, allocations: 300.3 kB / 4.207 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/11.11, allocations: 0.5729 MB / 4.208 GB, free: 161.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/11.11, allocations: 1.494 MB / 4.209 GB, free: 159.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/11.11, allocations: 1.296 MB / 4.21 GB, free: 158.5 MB / 1.167 GB Notification: Performance of SimCode: time 9.71e-07/11.11, allocations: 0 / 4.21 GB, free: 158.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)