Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.288/2.288, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.00161, allocations: 185.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 101.7 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.245e-06, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.5998, allocations: 115.2 MB / 0.9628 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.828/5.428, allocations: 2.073 GB / 3.036 GB, free: 272 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/5.428, allocations: 81.67 kB / 3.036 GB, free: 272 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1906/5.619, allocations: 55.72 MB / 3.091 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.921e-05/5.619, allocations: 18 kB / 3.091 GB, free: 259.3 MB / 0.9323 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.00207/5.621, allocations: 0.9012 MB / 3.092 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/5.621, allocations: 17.34 kB / 3.092 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/5.625, allocations: 203 kB / 3.092 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/5.626, allocations: 0.5233 MB / 3.092 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/5.626, allocations: 6.375 kB / 3.092 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/5.626, allocations: 12.38 kB / 3.092 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009342/5.627, allocations: 281.2 kB / 3.093 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006611/5.628, allocations: 281 kB / 3.093 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/5.628, allocations: 6.781 kB / 3.093 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/5.628, allocations: 3.906 kB / 3.093 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/5.628, allocations: 2.781 kB / 3.093 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/5.632, allocations: 1.176 MB / 3.094 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/5.633, allocations: 349.1 kB / 3.094 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/5.633, allocations: 176 kB / 3.095 GB, free: 257.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/5.634, allocations: 10.52 kB / 3.095 GB, free: 257.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/5.634, allocations: 268.6 kB / 3.095 GB, free: 257 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 2.876e-06/5.634, allocations: 0 / 3.095 GB, free: 257 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.006572/5.641, allocations: 0.6225 MB / 3.095 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/5.641, allocations: 87.23 kB / 3.095 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/5.644, allocations: 1.163 MB / 3.097 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/5.644, allocations: 28.27 kB / 3.097 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/5.644, allocations: 195.7 kB / 3.097 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/5.644, allocations: 92.25 kB / 3.097 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/5.644, allocations: 3.031 kB / 3.097 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.657e-05/5.644, allocations: 316.3 kB / 3.097 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/5.645, allocations: 147.6 kB / 3.097 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/5.645, allocations: 189.8 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/5.646, allocations: 164.6 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/5.646, allocations: 4.031 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006338/5.652, allocations: 0.641 MB / 3.098 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/5.652, allocations: 5.594 kB / 3.098 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/5.652, allocations: 1.125 kB / 3.098 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/5.653, allocations: 133.5 kB / 3.098 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/5.654, allocations: 65.73 kB / 3.099 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/5.661, allocations: 1.829 MB / 3.1 GB, free: 254 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/5.663, allocations: 40.62 kB / 3.1 GB, free: 254 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/5.663, allocations: 12.52 kB / 3.1 GB, free: 254 MB / 0.9323 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.0001754/5.663, allocations: 116.9 kB / 3.1 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/5.663, allocations: 83.28 kB / 3.101 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006988/5.67, allocations: 0.766 MB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/5.67, allocations: 4.625 kB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/5.67, allocations: 1.188 kB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/5.67, allocations: 3.984 kB / 3.101 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/5.672, allocations: 0.6078 MB / 3.102 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/5.672, allocations: 3.984 kB / 3.102 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/5.672, allocations: 58.06 kB / 3.102 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005767/5.673, allocations: 127.6 kB / 3.102 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/5.673, allocations: 14.31 kB / 3.102 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/5.68, allocations: 1.828 MB / 3.104 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/5.68, allocations: 10.27 kB / 3.104 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006495/5.687, allocations: 0.6974 MB / 3.105 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/5.688, allocations: 223 kB / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/5.688, allocations: 9.719 kB / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/5.689, allocations: 24.88 kB / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/5.689, allocations: 21.53 kB / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/5.689, allocations: 17.02 kB / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001846/5.691, allocations: 0.9363 MB / 3.106 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001236/5.692, allocations: 204.2 kB / 3.106 GB, free: 251.1 MB / 0.9323 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.001836/5.694, allocations: 0.9182 MB / 3.107 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001508/5.696, allocations: 495.5 kB / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.696, allocations: 0 / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/5.696, allocations: 333.6 kB / 3.108 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/5.698, allocations: 104.3 kB / 3.108 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/5.702, allocations: 1.386 MB / 3.109 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/5.703, allocations: 1.055 MB / 3.11 GB, free: 249 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/5.703, allocations: 0 / 3.11 GB, free: 249 MB / 0.9323 GB Notification: Performance of Templates: time 0.03508/5.738, allocations: 14.59 MB / 3.124 GB, free: 234.5 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)