Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [: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.458/1.458, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001057/0.001057, allocations: 192 kB / 366.3 MB, free: 1.93 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.193/1.193, allocations: 205.2 MB / 0.6256 GB, free: 5.766 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.0009045/0.0009045, allocations: 88.61 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.132e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4962, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6569, allocations: 140.4 MB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.6572, allocations: 83.89 kB / 1.11 GB, free: 8 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.009249/0.6664, allocations: 2.82 MB / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6665, allocations: 0 / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006626/0.6671, allocations: 461.6 kB / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6672, allocations: 12.03 kB / 1.113 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.6672, allocations: 11.89 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.6674, allocations: 178.8 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.6675, allocations: 33.7 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.6675, allocations: 4 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001169/0.6677, allocations: 31.98 kB / 1.113 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.6678, allocations: 66.5 kB / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6678, allocations: 3.984 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6678, allocations: 7.938 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6678, allocations: 0 / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.6684, allocations: 297.3 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.6685, allocations: 58.56 kB / 1.114 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.6686, allocations: 24.86 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.6686, allocations: 0.8438 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.6687, allocations: 83.41 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.6687, allocations: 0 / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002578/0.669, allocations: 90.8 kB / 1.114 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.669, allocations: 59.41 kB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.6691, allocations: 122 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6691, allocations: 25.7 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.6692, allocations: 92.52 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.6692, allocations: 23.7 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.6692, allocations: 0 / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6694, allocations: 322.8 kB / 1.114 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.6694, allocations: 20 kB / 1.114 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.6695, allocations: 61.89 kB / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.6695, allocations: 23.98 kB / 1.114 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6696, allocations: 0 / 1.114 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002283/0.6698, allocations: 117.4 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6698, allocations: 7.906 kB / 1.115 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6698, allocations: 4 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6698, allocations: 0 / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.67, allocations: 19.98 kB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.67, allocations: 4.5 kB / 1.115 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.6701, allocations: 24.05 kB / 1.115 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.6702, allocations: 4 kB / 1.115 GB, free: 2.703 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.6702, allocations: 105.5 kB / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.6703, allocations: 11.81 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.6703, allocations: 12.48 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6703, allocations: 4.75 kB / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.6703, allocations: 0 / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6703, allocations: 0 / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.6708, allocations: 368.1 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6708, allocations: 0 / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.6709, allocations: 15.92 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.6709, allocations: 4 kB / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6709, allocations: 0 / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6709, allocations: 4 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6709, allocations: 7.891 kB / 1.115 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002012/0.6712, allocations: 188.1 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.6712, allocations: 85.02 kB / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.6712, allocations: 96 / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6714, allocations: 19.98 kB / 1.115 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.6715, allocations: 16.8 kB / 1.115 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.6715, allocations: 7.906 kB / 1.115 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.929e-05/0.6715, allocations: 96.11 kB / 1.116 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003361/0.6719, allocations: 55.88 kB / 1.116 GB, free: 1.641 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003712/0.6723, allocations: 165.6 kB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.6724, allocations: 68.7 kB / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.6724, allocations: 4 kB / 1.116 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.6725, allocations: 35.98 kB / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.6727, allocations: 14.69 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.6731, allocations: 123.4 kB / 1.116 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.6735, allocations: 0.7125 MB / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.6735, allocations: 0 / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of Templates: time 0.004561/0.678, allocations: 1.968 MB / 1.119 GB, free: 14.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)