Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001142/0.001142, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.607/1.607, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0009254/0.0009256, allocations: 89 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.078e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.707, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/5.288, allocations: 2.092 GB / 3.064 GB, free: 353.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/5.288, allocations: 88.55 kB / 3.064 GB, free: 353.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5853/5.873, allocations: 312 MB / 3.369 GB, free: 51.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001491/5.874, allocations: 51.92 kB / 3.369 GB, free: 51.67 MB / 0.948 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.004282/5.878, allocations: 1.778 MB / 3.371 GB, free: 49.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/5.878, allocations: 8.031 kB / 3.371 GB, free: 49.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/5.882, allocations: 0.5245 MB / 3.371 GB, free: 49.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/5.884, allocations: 0.9739 MB / 3.372 GB, free: 48.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/5.884, allocations: 55.94 kB / 3.372 GB, free: 48.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/5.884, allocations: 95.98 kB / 3.372 GB, free: 48.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002821/5.887, allocations: 1.665 MB / 3.374 GB, free: 46.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/5.89, allocations: 1.452 MB / 3.376 GB, free: 44.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/5.89, allocations: 0 / 3.376 GB, free: 44.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/5.89, allocations: 8 kB / 3.376 GB, free: 44.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/5.89, allocations: 40 kB / 3.376 GB, free: 44.92 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007231/5.897, allocations: 4.602 MB / 3.38 GB, free: 40.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/5.899, allocations: 1.485 MB / 3.382 GB, free: 38.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/5.9, allocations: 0.562 MB / 3.382 GB, free: 38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008656/5.901, allocations: 1.132 MB / 3.383 GB, free: 36.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/5.902, allocations: 0.7371 MB / 3.384 GB, free: 35.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 3.877e-06/5.902, allocations: 0 / 3.384 GB, free: 35.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.003447/5.905, allocations: 1.317 MB / 3.385 GB, free: 34.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/5.905, allocations: 248.6 kB / 3.385 GB, free: 34.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/5.906, allocations: 0.6136 MB / 3.386 GB, free: 33.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/5.906, allocations: 25.7 kB / 3.386 GB, free: 33.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/5.907, allocations: 0.5075 MB / 3.387 GB, free: 33.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/5.907, allocations: 441.3 kB / 3.387 GB, free: 32.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/5.907, allocations: 0 / 3.387 GB, free: 32.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.414e-05/5.907, allocations: 349.9 kB / 3.387 GB, free: 32.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/5.907, allocations: 378.5 kB / 3.388 GB, free: 31.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/5.908, allocations: 0.5309 MB / 3.388 GB, free: 31.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/5.909, allocations: 475.4 kB / 3.389 GB, free: 30.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/5.909, allocations: 0 / 3.389 GB, free: 30.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002547/5.911, allocations: 1.251 MB / 3.39 GB, free: 29.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/5.912, allocations: 7.906 kB / 3.39 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/5.912, allocations: 4 kB / 3.39 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008842/5.912, allocations: 192.2 kB / 3.39 GB, free: 29.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/5.914, allocations: 299.6 kB / 3.39 GB, free: 29.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/5.918, allocations: 6.459 MB / 3.397 GB, free: 22.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/5.919, allocations: 119.2 kB / 3.397 GB, free: 21.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/5.919, allocations: 51.97 kB / 3.397 GB, free: 21.88 MB / 0.948 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.0003337/5.92, allocations: 129.8 kB / 3.397 GB, free: 21.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/5.92, allocations: 114.6 kB / 3.397 GB, free: 21.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/5.924, allocations: 1.608 MB / 3.399 GB, free: 20 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/5.924, allocations: 16 kB / 3.399 GB, free: 19.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/5.924, allocations: 4 kB / 3.399 GB, free: 19.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/5.924, allocations: 7.969 kB / 3.399 GB, free: 19.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/5.929, allocations: 2.939 MB / 3.401 GB, free: 16.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/5.929, allocations: 4 kB / 3.401 GB, free: 16.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/5.931, allocations: 303.6 kB / 3.402 GB, free: 16.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/5.931, allocations: 188.2 kB / 3.402 GB, free: 16.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/5.932, allocations: 23.97 kB / 3.402 GB, free: 16.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/5.936, allocations: 6.497 MB / 3.408 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/5.936, allocations: 8.062 kB / 3.408 GB, free: 9.363 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002904/5.939, allocations: 1.427 MB / 3.41 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/5.939, allocations: 395.1 kB / 3.41 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/5.94, allocations: 7.906 kB / 3.41 GB, free: 7.484 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/5.941, allocations: 103.8 kB / 3.41 GB, free: 7.383 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/5.941, allocations: 81.19 kB / 3.41 GB, free: 7.305 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/5.941, allocations: 67.94 kB / 3.41 GB, free: 7.238 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006481/5.942, allocations: 495.1 kB / 3.411 GB, free: 6.762 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002095/5.944, allocations: 0.5919 MB / 3.411 GB, free: 6.168 MB / 0.948 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.002642/5.947, allocations: 1.661 MB / 3.413 GB, free: 4.543 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002246/5.949, allocations: 1.561 MB / 3.415 GB, free: 2.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/5.949, allocations: 4.594 kB / 3.415 GB, free: 2.926 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/5.95, allocations: 1.13 MB / 3.416 GB, free: 1.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/5.952, allocations: 383.6 kB / 3.416 GB, free: 1.375 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3679/6.32, allocations: 2.185 MB / 3.418 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/6.321, allocations: 1.461 MB / 3.42 GB, free: 316.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/6.321, allocations: 0 / 3.42 GB, free: 316.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04695/6.368, allocations: 32.18 MB / 3.451 GB, free: 315.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)