Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.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: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") [: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.589/1.589, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001673/0.001673, allocations: 181.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.667/1.667, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009672/0.0009676, allocations: 99.62 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.186e-05, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6971, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.717, allocations: 463.5 MB / 1.416 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.717, allocations: 94.98 kB / 1.416 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 39.11/40.83, allocations: 9.489 GB / 10.91 GB, free: 95.91 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004822/40.83, allocations: 0.511 MB / 10.91 GB, free: 95.8 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.06462/40.9, allocations: 15.04 MB / 10.92 GB, free: 90.07 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/40.9, allocations: 12.12 kB / 10.92 GB, free: 90.07 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02019/40.92, allocations: 2.349 MB / 10.92 GB, free: 89.06 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09003/41.01, allocations: 26.93 MB / 10.95 GB, free: 86.48 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/41.01, allocations: 258.4 kB / 10.95 GB, free: 86.48 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007596/41.02, allocations: 0.5771 MB / 10.95 GB, free: 86.48 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0408/41.06, allocations: 19.97 MB / 10.97 GB, free: 86.44 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0505/41.11, allocations: 15.59 MB / 10.98 GB, free: 84.62 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007826/41.11, allocations: 14.28 kB / 10.98 GB, free: 84.62 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005616/41.12, allocations: 17.16 kB / 10.98 GB, free: 84.62 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003418/41.12, allocations: 223.5 kB / 10.99 GB, free: 84.62 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.183/41.3, allocations: 83.58 MB / 11.07 GB, free: 49.75 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/41.32, allocations: 10.14 MB / 11.08 GB, free: 49.61 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/41.34, allocations: 9.712 MB / 11.09 GB, free: 49.5 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08873/41.42, allocations: 35.25 MB / 11.12 GB, free: 40.2 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01747/41.44, allocations: 9.033 MB / 11.13 GB, free: 40.04 MB / 1.214 GB Notification: Performance of pre-optimization done (n=563): time 9.618e-06/41.44, allocations: 0 / 11.13 GB, free: 40.04 MB / 1.214 GB Notification: Performance of matching and sorting (n=565): time 0.7118/42.15, allocations: 149.4 MB / 11.28 GB, free: 19.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006573/42.15, allocations: 2.507 MB / 11.28 GB, free: 16.62 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03981/42.19, allocations: 14.18 MB / 11.29 GB, free: 8.445 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004686/42.2, allocations: 49.64 kB / 11.29 GB, free: 8.395 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01008/42.21, allocations: 4.093 MB / 11.3 GB, free: 5.727 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006938/42.22, allocations: 1.933 MB / 11.3 GB, free: 4.176 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004403/42.22, allocations: 0 / 11.3 GB, free: 4.176 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001216/42.22, allocations: 0.6771 MB / 11.3 GB, free: 3.746 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.019/42.24, allocations: 8.887 MB / 11.31 GB, free: 0 / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02247/42.26, allocations: 12.11 MB / 11.32 GB, free: 7.324 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02552/42.29, allocations: 10.15 MB / 11.33 GB, free: 320 kB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/42.29, allocations: 18.91 kB / 11.33 GB, free: 304 kB / 1.229 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 1.568/43.86, allocations: 135.3 MB / 11.46 GB, free: 191.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.006751/43.86, allocations: 38.07 MB / 11.5 GB, free: 152.4 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005121/43.86, allocations: 117.7 kB / 11.5 GB, free: 152.4 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6813/44.55, allocations: 160.9 MB / 11.66 GB, free: 137 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01419/44.56, allocations: 2.08 MB / 11.66 GB, free: 137 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1447/44.71, allocations: 65.63 MB / 11.72 GB, free: 120.6 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0202/44.73, allocations: 0.8799 MB / 11.72 GB, free: 120 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004391/44.73, allocations: 0.835 MB / 11.72 GB, free: 119.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/44.73, allocations: 4 kB / 11.72 GB, free: 119.5 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6227/45.35, allocations: 131.9 MB / 11.85 GB, free: 7.637 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005659/45.35, allocations: 123.6 kB / 11.85 GB, free: 7.52 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/46.72, allocations: 161 MB / 12.01 GB, free: 174.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/46.73, allocations: 2.064 MB / 12.01 GB, free: 174.1 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1615/46.89, allocations: 67.3 MB / 12.08 GB, free: 170.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02304/46.92, allocations: 0.8475 MB / 12.08 GB, free: 170.2 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005385/46.92, allocations: 0.7955 MB / 12.08 GB, free: 170.2 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (947): * Single equations (assignments): 871 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.00811/46.93, allocations: 348.4 kB / 12.08 GB, free: 170.1 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009753/46.94, allocations: 1.473 MB / 12.08 GB, free: 170.1 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2129/47.15, allocations: 57.44 MB / 12.14 GB, free: 162.6 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001665/47.15, allocations: 68.5 kB / 12.14 GB, free: 162.6 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001335/47.15, allocations: 33.25 kB / 12.14 GB, free: 162.6 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1882/47.34, allocations: 51.36 MB / 12.19 GB, free: 150 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2295/47.57, allocations: 69.94 MB / 12.25 GB, free: 106.6 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.582e-05/47.57, allocations: 3.422 kB / 12.25 GB, free: 106.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008206/47.58, allocations: 1.084 MB / 12.26 GB, free: 105.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2057/47.79, allocations: 66.52 MB / 12.32 GB, free: 50.69 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002788/47.79, allocations: 160.2 kB / 12.32 GB, free: 50.61 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05348/47.84, allocations: 24.67 MB / 12.35 GB, free: 34.79 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/47.84, allocations: 1.688 kB / 12.35 GB, free: 34.79 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.078/48.92, allocations: 62.12 MB / 12.41 GB, free: 191.4 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01399/48.93, allocations: 3.149 MB / 12.41 GB, free: 191.3 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008973/48.94, allocations: 92.22 kB / 12.41 GB, free: 191.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01771/48.96, allocations: 0.6836 MB / 12.41 GB, free: 191.2 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002834/48.96, allocations: 358.7 kB / 12.41 GB, free: 191.2 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002379/48.97, allocations: 256.9 kB / 12.41 GB, free: 191.2 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.0297/49, allocations: 10.65 MB / 12.42 GB, free: 190.8 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.06304/49.06, allocations: 7.658 MB / 12.43 GB, free: 190.8 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (522): * Single equations (assignments): 502 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01162/49.07, allocations: 5.291 MB / 12.43 GB, free: 188.5 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.07734/49.15, allocations: 35.25 MB / 12.47 GB, free: 185.6 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.337e-05/49.15, allocations: 9.031 kB / 12.47 GB, free: 185.6 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01801/49.17, allocations: 8.507 MB / 12.48 GB, free: 185.3 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04191/49.21, allocations: 7.122 MB / 12.48 GB, free: 185 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08049/49.29, allocations: 27.27 MB / 12.51 GB, free: 179.5 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02154/49.31, allocations: 10.09 MB / 12.52 GB, free: 178.3 MB / 1.245 GB Notification: Performance of SimCode: time 1.673e-06/49.31, allocations: 0 / 12.52 GB, free: 178.3 MB / 1.245 GB Notification: Performance of Templates: time 2.122/51.43, allocations: 470 MB / 12.98 GB, free: 189.9 MB / 1.245 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)