Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") [: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.483/1.483, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.0009593/0.0009594, allocations: 185.2 kB / 366.3 MB, free: 1.996 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.276/1.276, allocations: 205.1 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.0009112/0.0009109, allocations: 92.8 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.961e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6426, allocations: 116.3 MB / 0.9725 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.12/4.763, allocations: 2.072 GB / 3.045 GB, free: 3.887 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/4.763, allocations: 83.95 kB / 3.045 GB, free: 3.805 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6602/5.423, allocations: 51.89 MB / 3.095 GB, free: 340.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.99e-05/5.423, allocations: 8 kB / 3.095 GB, free: 340.8 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001167/5.424, allocations: 0.6659 MB / 3.096 GB, free: 340.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/5.424, allocations: 8.031 kB / 3.096 GB, free: 340.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/5.427, allocations: 267.3 kB / 3.096 GB, free: 339.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/5.428, allocations: 303.2 kB / 3.097 GB, free: 339.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/5.428, allocations: 8 kB / 3.097 GB, free: 339.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/5.428, allocations: 20 kB / 3.097 GB, free: 339.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006287/5.428, allocations: 373.2 kB / 3.097 GB, free: 339.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/5.429, allocations: 316.6 kB / 3.097 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/5.429, allocations: 0 / 3.097 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/5.429, allocations: 3.984 kB / 3.097 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/5.429, allocations: 8 kB / 3.097 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/5.432, allocations: 1.069 MB / 3.098 GB, free: 337.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/5.432, allocations: 310.5 kB / 3.099 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/5.432, allocations: 152.8 kB / 3.099 GB, free: 337.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/5.432, allocations: 12.42 kB / 3.099 GB, free: 337.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/5.432, allocations: 34.56 kB / 3.099 GB, free: 337.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/5.432, allocations: 0 / 3.099 GB, free: 337.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.005348/5.438, allocations: 0.6771 MB / 3.1 GB, free: 336.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/5.438, allocations: 59.41 kB / 3.1 GB, free: 336.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/5.438, allocations: 175.9 kB / 3.1 GB, free: 336.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/5.438, allocations: 25.7 kB / 3.1 GB, free: 336.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/5.438, allocations: 156 kB / 3.1 GB, free: 336 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/5.438, allocations: 90.69 kB / 3.1 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/5.438, allocations: 4 kB / 3.1 GB, free: 335.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/5.438, allocations: 334.7 kB / 3.1 GB, free: 335.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/5.439, allocations: 128.5 kB / 3.1 GB, free: 335.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/5.439, allocations: 178.8 kB / 3.101 GB, free: 335.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/5.439, allocations: 159.8 kB / 3.101 GB, free: 335.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/5.439, allocations: 0 / 3.101 GB, free: 335.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005179/5.444, allocations: 0.7147 MB / 3.101 GB, free: 334.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/5.444, allocations: 4 kB / 3.101 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/5.444, allocations: 4 kB / 3.101 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/5.445, allocations: 173.5 kB / 3.102 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/5.445, allocations: 63.89 kB / 3.102 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007103/5.452, allocations: 3.209 MB / 3.105 GB, free: 330.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/5.453, allocations: 63.73 kB / 3.105 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/5.453, allocations: 27.97 kB / 3.105 GB, free: 330.6 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001244/5.453, allocations: 104.9 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/5.454, allocations: 27.7 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/5.459, allocations: 0.7609 MB / 3.106 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/5.459, allocations: 4 kB / 3.106 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/5.459, allocations: 3.906 kB / 3.106 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/5.459, allocations: 3.984 kB / 3.106 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/5.464, allocations: 1.106 MB / 3.107 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/5.464, allocations: 4 kB / 3.107 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/5.465, allocations: 56.02 kB / 3.107 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/5.465, allocations: 181.5 kB / 3.107 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/5.465, allocations: 11.97 kB / 3.107 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/5.472, allocations: 3.212 MB / 3.11 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/5.472, allocations: 0 / 3.11 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005073/5.477, allocations: 0.7905 MB / 3.111 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/5.477, allocations: 108.7 kB / 3.111 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/5.478, allocations: 4 kB / 3.111 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/5.478, allocations: 47.95 kB / 3.111 GB, free: 323.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/5.478, allocations: 11.97 kB / 3.111 GB, free: 323.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/5.479, allocations: 23.91 kB / 3.111 GB, free: 323.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001111/5.479, allocations: 152.5 kB / 3.111 GB, free: 323.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007603/5.479, allocations: 147.8 kB / 3.112 GB, free: 323.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008214/5.48, allocations: 0.6954 MB / 3.112 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009557/5.481, allocations: 0.5505 MB / 3.113 GB, free: 322.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.481, allocations: 4.125 kB / 3.113 GB, free: 322.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/5.482, allocations: 400 kB / 3.113 GB, free: 321.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/5.482, allocations: 67.5 kB / 3.113 GB, free: 321.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/5.484, allocations: 0.5525 MB / 3.114 GB, free: 321.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/5.485, allocations: 0.8188 MB / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.485, allocations: 0 / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of Templates: time 0.0186/5.503, allocations: 15.82 MB / 3.13 GB, free: 304.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)