Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") [: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.502/1.502, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001082/0.001082, allocations: 169.3 kB / 366.3 MB, free: 1.961 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.256/1.256, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0009091/0.0009091, allocations: 91.33 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.891e-06, allocations: 0 / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6527, allocations: 116.3 MB / 0.9725 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.034/4.687, allocations: 2.075 GB / 3.047 GB, free: 34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/4.687, allocations: 80.61 kB / 3.047 GB, free: 33.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6637/5.351, allocations: 55.74 MB / 3.102 GB, free: 331.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.868e-05/5.351, allocations: 11.59 kB / 3.102 GB, free: 331.5 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001511/5.353, allocations: 0.9056 MB / 3.103 GB, free: 330.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/5.353, allocations: 7.688 kB / 3.103 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/5.354, allocations: 200 kB / 3.103 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/5.355, allocations: 0.5158 MB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/5.355, allocations: 11.75 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/5.355, allocations: 12.34 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007934/5.356, allocations: 283.9 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/5.357, allocations: 280 kB / 3.104 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/5.357, allocations: 0.625 kB / 3.104 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/5.357, allocations: 2.75 kB / 3.104 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/5.357, allocations: 4.312 kB / 3.104 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/5.36, allocations: 1.187 MB / 3.105 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/5.36, allocations: 336.5 kB / 3.105 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/5.361, allocations: 178.3 kB / 3.105 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/5.361, allocations: 7.797 kB / 3.105 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/5.361, allocations: 272.6 kB / 3.106 GB, free: 329.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/5.361, allocations: 0 / 3.106 GB, free: 329.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003448/5.365, allocations: 0.6193 MB / 3.106 GB, free: 329.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/5.365, allocations: 84.86 kB / 3.106 GB, free: 329 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/5.367, allocations: 1.167 MB / 3.108 GB, free: 328.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/5.367, allocations: 28.08 kB / 3.108 GB, free: 328.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/5.367, allocations: 189.7 kB / 3.108 GB, free: 328.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/5.367, allocations: 90.84 kB / 3.108 GB, free: 328.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/5.367, allocations: 1.125 kB / 3.108 GB, free: 328.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/5.367, allocations: 328 kB / 3.108 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/5.368, allocations: 142.1 kB / 3.108 GB, free: 328 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/5.368, allocations: 196.1 kB / 3.108 GB, free: 327.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/5.368, allocations: 166.7 kB / 3.109 GB, free: 327.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.368, allocations: 0 / 3.109 GB, free: 327.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003245/5.372, allocations: 0.6476 MB / 3.109 GB, free: 327.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/5.372, allocations: 4.625 kB / 3.109 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/5.372, allocations: 5.688 kB / 3.109 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/5.372, allocations: 124.3 kB / 3.109 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/5.372, allocations: 65.31 kB / 3.109 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/5.377, allocations: 1.835 MB / 3.111 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/5.377, allocations: 31.41 kB / 3.111 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/5.377, allocations: 14.92 kB / 3.111 GB, free: 326.2 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: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001426/5.378, allocations: 128.8 kB / 3.111 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/5.378, allocations: 85.12 kB / 3.111 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/5.381, allocations: 0.7517 MB / 3.112 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/5.381, allocations: 3.781 kB / 3.112 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/5.381, allocations: 12.59 kB / 3.112 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/5.381, allocations: 3.5 kB / 3.112 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/5.382, allocations: 0.6034 MB / 3.113 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/5.382, allocations: 0 / 3.113 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/5.382, allocations: 60.05 kB / 3.113 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/5.383, allocations: 130.8 kB / 3.113 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/5.383, allocations: 14.81 kB / 3.113 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/5.387, allocations: 1.827 MB / 3.115 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/5.387, allocations: 5.781 kB / 3.115 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003505/5.391, allocations: 0.7074 MB / 3.115 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/5.391, allocations: 229.3 kB / 3.116 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/5.391, allocations: 6.562 kB / 3.116 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/5.392, allocations: 22.56 kB / 3.116 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/5.392, allocations: 26.92 kB / 3.116 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/5.392, allocations: 15.91 kB / 3.116 GB, free: 323.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001555/5.393, allocations: 0.9331 MB / 3.117 GB, free: 323.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001002/5.394, allocations: 201.3 kB / 3.117 GB, free: 323.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/5.396, allocations: 0.9224 MB / 3.118 GB, free: 323 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00116/5.398, allocations: 492.6 kB / 3.118 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/5.398, allocations: 0 / 3.118 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/5.398, allocations: 334.5 kB / 3.119 GB, free: 322.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/5.399, allocations: 95.86 kB / 3.119 GB, free: 322.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/5.402, allocations: 1.39 MB / 3.12 GB, free: 322.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/5.403, allocations: 1.052 MB / 3.121 GB, free: 321.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/5.403, allocations: 0 / 3.121 GB, free: 321.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02713/5.43, allocations: 14.6 MB / 3.135 GB, free: 320.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)