Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [: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.491/1.491, allocations: 285.5 MB / 292.8 MB, free: 1.102 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 183 kB / 361.1 MB, free: 15.42 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 0.6195 GB, free: 6.094 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000972/0.0009722, allocations: 88.59 kB / 0.7325 GB, free: 47.04 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 9.839e-06/9.859e-06, allocations: 4 kB / 0.8511 GB, free: 13.03 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.6199, allocations: 115.3 MB / 0.9637 GB, free: 85.85 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.696/4.316, allocations: 2.091 GB / 3.054 GB, free: 20.04 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/4.316, allocations: 86.72 kB / 3.055 GB, free: 19.96 MB / 0.9405 GB Notification: Performance of FrontEnd: time 1.15/5.466, allocations: 312 MB / 3.359 GB, free: 87.71 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 0.0001684/5.466, allocations: 51.88 kB / 3.359 GB, free: 87.66 MB / 0.9405 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.004763/5.471, allocations: 1.776 MB / 3.361 GB, free: 85.83 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/5.471, allocations: 8.531 kB / 3.361 GB, free: 85.82 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/5.475, allocations: 0.5206 MB / 3.362 GB, free: 85.3 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/5.477, allocations: 0.9778 MB / 3.362 GB, free: 84.27 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/5.477, allocations: 52 kB / 3.363 GB, free: 84.22 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/5.477, allocations: 92 kB / 3.363 GB, free: 84.13 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00244/5.48, allocations: 1.661 MB / 3.364 GB, free: 82.47 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/5.482, allocations: 1.458 MB / 3.366 GB, free: 80.96 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/5.482, allocations: 3.984 kB / 3.366 GB, free: 80.96 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/5.482, allocations: 8 kB / 3.366 GB, free: 80.95 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/5.482, allocations: 40 kB / 3.366 GB, free: 80.91 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006764/5.489, allocations: 4.599 MB / 3.37 GB, free: 76.12 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/5.491, allocations: 1.489 MB / 3.372 GB, free: 74.56 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/5.491, allocations: 0.5658 MB / 3.372 GB, free: 73.99 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009339/5.492, allocations: 1.128 MB / 3.373 GB, free: 72.62 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009472/5.493, allocations: 0.7371 MB / 3.374 GB, free: 71.86 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=137): time 3.396e-06/5.493, allocations: 4 kB / 3.374 GB, free: 71.86 MB / 0.9405 GB Notification: Performance of matching and sorting (n=137): time 0.003411/5.497, allocations: 1.321 MB / 3.375 GB, free: 70.52 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/5.497, allocations: 244.6 kB / 3.376 GB, free: 70.22 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/5.497, allocations: 0.6175 MB / 3.376 GB, free: 69.6 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/5.498, allocations: 29.7 kB / 3.376 GB, free: 69.57 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/5.498, allocations: 0.4997 MB / 3.377 GB, free: 69.05 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/5.498, allocations: 441.3 kB / 3.377 GB, free: 68.62 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/5.498, allocations: 0 / 3.377 GB, free: 68.62 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/5.498, allocations: 349.9 kB / 3.377 GB, free: 68.27 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/5.499, allocations: 378.5 kB / 3.378 GB, free: 67.9 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006116/5.5, allocations: 0.5231 MB / 3.378 GB, free: 67.34 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/5.5, allocations: 480.3 kB / 3.379 GB, free: 66.87 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.5, allocations: 0 / 3.379 GB, free: 66.87 MB / 0.9405 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002575/5.503, allocations: 1.259 MB / 3.38 GB, free: 65.59 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/5.503, allocations: 9.156 kB / 3.38 GB, free: 65.58 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/5.503, allocations: 0 / 3.38 GB, free: 65.58 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/5.504, allocations: 192.2 kB / 3.38 GB, free: 65.38 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/5.505, allocations: 303.5 kB / 3.38 GB, free: 65.08 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/5.51, allocations: 6.467 MB / 3.387 GB, free: 58.04 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/5.511, allocations: 119.2 kB / 3.387 GB, free: 57.92 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/5.511, allocations: 51.91 kB / 3.387 GB, free: 57.87 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003133/5.511, allocations: 132.6 kB / 3.387 GB, free: 57.73 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/5.512, allocations: 114.6 kB / 3.387 GB, free: 57.62 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/5.515, allocations: 1.596 MB / 3.389 GB, free: 55.99 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/5.516, allocations: 16 kB / 3.389 GB, free: 55.98 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/5.516, allocations: 0 / 3.389 GB, free: 55.98 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/5.516, allocations: 11.97 kB / 3.389 GB, free: 55.96 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/5.521, allocations: 2.943 MB / 3.392 GB, free: 52.96 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/5.521, allocations: 0 / 3.392 GB, free: 52.96 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/5.523, allocations: 315.6 kB / 3.392 GB, free: 52.65 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008358/5.523, allocations: 180.2 kB / 3.392 GB, free: 52.46 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/5.524, allocations: 23.97 kB / 3.392 GB, free: 52.43 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/5.528, allocations: 6.506 MB / 3.399 GB, free: 45.35 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.528, allocations: 128 / 3.399 GB, free: 45.35 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002951/5.531, allocations: 1.427 MB / 3.4 GB, free: 43.89 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/5.532, allocations: 399.1 kB / 3.4 GB, free: 43.48 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/5.532, allocations: 7.906 kB / 3.4 GB, free: 43.47 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/5.533, allocations: 99.81 kB / 3.4 GB, free: 43.38 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/5.534, allocations: 77.19 kB / 3.4 GB, free: 43.3 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/5.534, allocations: 67.94 kB / 3.401 GB, free: 43.23 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0006884/5.534, allocations: 491.1 kB / 3.401 GB, free: 42.76 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.002271/5.537, allocations: 0.6036 MB / 3.402 GB, free: 42.15 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002792/5.54, allocations: 1.635 MB / 3.403 GB, free: 40.56 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.002373/5.542, allocations: 1.561 MB / 3.405 GB, free: 38.95 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/5.542, allocations: 4.656 kB / 3.405 GB, free: 38.95 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/5.543, allocations: 1.134 MB / 3.406 GB, free: 37.76 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/5.545, allocations: 381.8 kB / 3.406 GB, free: 37.4 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/5.551, allocations: 2.184 MB / 3.408 GB, free: 35.16 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/5.552, allocations: 1.461 MB / 3.41 GB, free: 33.68 MB / 0.9405 GB Notification: Performance of SimCode: time 7.21e-07/5.552, allocations: 0 / 3.41 GB, free: 33.68 MB / 0.9405 GB Notification: Performance of Templates: time 0.04854/5.6, allocations: 32.21 MB / 3.441 GB, free: 1.605 MB / 0.9405 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)