Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.456/1.456, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.00105/0.00105, allocations: 177.3 kB / 361.1 MB, free: 7.055 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.393/1.393, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0009995/0.0009996, allocations: 96.56 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.5e-06, allocations: 0 / 0.851 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.5436, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.126/4.669, allocations: 2.074 GB / 3.037 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/4.67, allocations: 80.97 kB / 3.037 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.7074/5.377, allocations: 55.73 MB / 3.092 GB, free: 318.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000169/5.377, allocations: 11.27 kB / 3.092 GB, free: 318.9 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.00297/5.38, allocations: 0.9045 MB / 3.093 GB, free: 318.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.266e-05/5.38, allocations: 12.56 kB / 3.093 GB, free: 318.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/5.383, allocations: 203.6 kB / 3.093 GB, free: 318.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/5.385, allocations: 0.5249 MB / 3.093 GB, free: 317.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/5.385, allocations: 5.344 kB / 3.093 GB, free: 317.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/5.385, allocations: 12.75 kB / 3.093 GB, free: 317.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007435/5.386, allocations: 285.4 kB / 3.094 GB, free: 317.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/5.386, allocations: 280.2 kB / 3.094 GB, free: 317.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/5.386, allocations: 0 / 3.094 GB, free: 317.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/5.386, allocations: 3.906 kB / 3.094 GB, free: 317.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/5.386, allocations: 6.562 kB / 3.094 GB, free: 317.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/5.39, allocations: 1.178 MB / 3.095 GB, free: 317 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/5.391, allocations: 335 kB / 3.095 GB, free: 316.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/5.391, allocations: 174 kB / 3.096 GB, free: 316.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/5.391, allocations: 5.5 kB / 3.096 GB, free: 316.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/5.392, allocations: 267 kB / 3.096 GB, free: 316.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 6.082e-06/5.392, allocations: 0 / 3.096 GB, free: 316.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.004087/5.396, allocations: 0.6278 MB / 3.096 GB, free: 316.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/5.396, allocations: 80.14 kB / 3.097 GB, free: 316.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/5.398, allocations: 1.172 MB / 3.098 GB, free: 315.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/5.398, allocations: 30.19 kB / 3.098 GB, free: 315.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/5.399, allocations: 193.5 kB / 3.098 GB, free: 315.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/5.399, allocations: 99.09 kB / 3.098 GB, free: 315.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/5.399, allocations: 0 / 3.098 GB, free: 315.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/5.399, allocations: 320.5 kB / 3.098 GB, free: 315.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/5.399, allocations: 142.8 kB / 3.098 GB, free: 315.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/5.399, allocations: 198.9 kB / 3.099 GB, free: 315.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/5.4, allocations: 161.2 kB / 3.099 GB, free: 315.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.4, allocations: 0 / 3.099 GB, free: 315.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003474/5.403, allocations: 0.6449 MB / 3.099 GB, free: 314.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/5.403, allocations: 5.844 kB / 3.099 GB, free: 314.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/5.403, allocations: 0 / 3.099 GB, free: 314.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/5.404, allocations: 132.7 kB / 3.1 GB, free: 314.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/5.404, allocations: 67.23 kB / 3.1 GB, free: 314.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/5.409, allocations: 1.834 MB / 3.101 GB, free: 313.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/5.409, allocations: 43.89 kB / 3.101 GB, free: 313.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/5.41, allocations: 19.61 kB / 3.101 GB, free: 313.5 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.0001466/5.41, allocations: 114.7 kB / 3.102 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/5.41, allocations: 80.38 kB / 3.102 GB, free: 313.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/5.414, allocations: 0.7616 MB / 3.102 GB, free: 313.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/5.414, allocations: 4.188 kB / 3.102 GB, free: 313.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/5.414, allocations: 0.9375 kB / 3.102 GB, free: 313.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/5.414, allocations: 1.156 kB / 3.102 GB, free: 313.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/5.415, allocations: 0.6039 MB / 3.103 GB, free: 312.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/5.415, allocations: 1.312 kB / 3.103 GB, free: 312.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/5.415, allocations: 62.11 kB / 3.103 GB, free: 312.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/5.415, allocations: 123.8 kB / 3.103 GB, free: 312.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/5.415, allocations: 23.88 kB / 3.103 GB, free: 312.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/5.42, allocations: 1.825 MB / 3.105 GB, free: 311.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.42, allocations: 3.906 kB / 3.105 GB, free: 311.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003442/5.423, allocations: 0.7034 MB / 3.106 GB, free: 311.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/5.423, allocations: 225.4 kB / 3.106 GB, free: 311 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/5.424, allocations: 4.297 kB / 3.106 GB, free: 311 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/5.424, allocations: 28.02 kB / 3.106 GB, free: 311 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/5.424, allocations: 20.64 kB / 3.106 GB, free: 311 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/5.424, allocations: 23.28 kB / 3.106 GB, free: 311 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001181/5.426, allocations: 0.9386 MB / 3.107 GB, free: 310.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008422/5.426, allocations: 199.7 kB / 3.107 GB, free: 310.6 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.001708/5.428, allocations: 0.912 MB / 3.108 GB, free: 310.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009547/5.429, allocations: 494.6 kB / 3.108 GB, free: 310 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/5.429, allocations: 0 / 3.108 GB, free: 310 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/5.43, allocations: 337.6 kB / 3.109 GB, free: 309.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/5.43, allocations: 100.3 kB / 3.109 GB, free: 309.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/5.433, allocations: 1.381 MB / 3.11 GB, free: 309.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000916/5.434, allocations: 1.058 MB / 3.111 GB, free: 308.7 MB / 0.9323 GB Notification: Performance of SimCode: time 2.91e-07/5.434, allocations: 0 / 3.111 GB, free: 308.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.02558/5.459, allocations: 14.6 MB / 3.125 GB, free: 298 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)