Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside") [: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.586/1.586, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001182/0.001182, allocations: 185.3 kB / 366.3 MB, free: 1.973 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.511/1.511, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0009222/0.0009222, allocations: 91.03 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.462e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5774, allocations: 116.3 MB / 0.9725 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.216/4.793, allocations: 2.102 GB / 3.074 GB, free: 352.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/4.794, allocations: 93.41 kB / 3.074 GB, free: 352.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.294/6.088, allocations: 394.8 MB / 3.46 GB, free: 227 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001394/6.088, allocations: 43.28 kB / 3.46 GB, free: 227 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003418/6.091, allocations: 1.515 MB / 3.461 GB, free: 226.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/6.091, allocations: 11.56 kB / 3.461 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/6.094, allocations: 369 kB / 3.462 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/6.096, allocations: 1.111 MB / 3.463 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/6.096, allocations: 40.69 kB / 3.463 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/6.096, allocations: 64.66 kB / 3.463 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001891/6.098, allocations: 1.293 MB / 3.464 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/6.1, allocations: 1.029 MB / 3.465 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/6.1, allocations: 0 / 3.465 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/6.1, allocations: 3.719 kB / 3.465 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/6.1, allocations: 30.47 kB / 3.465 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005354/6.105, allocations: 3.514 MB / 3.469 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/6.107, allocations: 0.9352 MB / 3.469 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/6.107, allocations: 392.5 kB / 3.47 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/6.108, allocations: 0.5033 MB / 3.47 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/6.108, allocations: 0.5445 MB / 3.471 GB, free: 224.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.787e-06/6.108, allocations: 3.312 kB / 3.471 GB, free: 224.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.002996/6.111, allocations: 1.109 MB / 3.472 GB, free: 224 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/6.112, allocations: 247.6 kB / 3.472 GB, free: 223.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/6.112, allocations: 0.6079 MB / 3.473 GB, free: 223.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/6.112, allocations: 25.7 kB / 3.473 GB, free: 223.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/6.113, allocations: 395.6 kB / 3.473 GB, free: 223.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/6.113, allocations: 322.7 kB / 3.473 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/6.113, allocations: 6.375 kB / 3.473 GB, free: 223.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/6.113, allocations: 337.7 kB / 3.474 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/6.113, allocations: 306.7 kB / 3.474 GB, free: 222.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/6.114, allocations: 459.7 kB / 3.475 GB, free: 222.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/6.115, allocations: 0.5221 MB / 3.475 GB, free: 222.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/6.115, allocations: 0 / 3.475 GB, free: 222.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002358/6.118, allocations: 1.096 MB / 3.476 GB, free: 222.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/6.118, allocations: 4.562 kB / 3.476 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/6.118, allocations: 3.688 kB / 3.476 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/6.118, allocations: 84.48 kB / 3.476 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/6.119, allocations: 208.1 kB / 3.476 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/6.121, allocations: 1.467 MB / 3.478 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/6.122, allocations: 87.66 kB / 3.478 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/6.122, allocations: 39.58 kB / 3.478 GB, free: 221.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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: 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/6.122, allocations: 121.2 kB / 3.478 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/6.122, allocations: 99.45 kB / 3.478 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/6.125, allocations: 1.452 MB / 3.48 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/6.125, allocations: 9.5 kB / 3.48 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/6.126, allocations: 0 / 3.48 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/6.126, allocations: 3.844 kB / 3.48 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/6.13, allocations: 2.541 MB / 3.482 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/6.13, allocations: 3.781 kB / 3.482 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/6.131, allocations: 206.7 kB / 3.482 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/6.132, allocations: 80.7 kB / 3.482 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/6.132, allocations: 33.09 kB / 3.482 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/6.133, allocations: 1.485 MB / 3.484 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/6.133, allocations: 6.844 kB / 3.484 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003068/6.136, allocations: 1.825 MB / 3.486 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/6.137, allocations: 343.3 kB / 3.486 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/6.137, allocations: 0 / 3.486 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/6.138, allocations: 79.62 kB / 3.486 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/6.138, allocations: 65.05 kB / 3.486 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/6.138, allocations: 41.08 kB / 3.486 GB, free: 218.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006729/6.139, allocations: 0.4946 MB / 3.487 GB, free: 218.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001847/6.141, allocations: 0.5019 MB / 3.487 GB, free: 218.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003893/6.145, allocations: 1.94 MB / 3.489 GB, free: 218.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001918/6.147, allocations: 0.9126 MB / 3.49 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/6.147, allocations: 7.031 kB / 3.49 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/6.148, allocations: 0.5728 MB / 3.49 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/6.15, allocations: 342.9 kB / 3.491 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/6.156, allocations: 1.948 MB / 3.493 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/6.157, allocations: 1.294 MB / 3.494 GB, free: 216.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/6.157, allocations: 0 / 3.494 GB, free: 216.9 MB / 0.948 GB Notification: Performance of Templates: time 0.0495/6.206, allocations: 28 MB / 3.521 GB, free: 216 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)