Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.433/1.433, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001075/0.001075, allocations: 175.6 kB / 361.1 MB, free: 7.125 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.466/1.466, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0008667/0.0008667, allocations: 89.89 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.197e-06, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.598/0.598, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.753, allocations: 139.4 MB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.7533, allocations: 84.5 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.009359/0.7626, allocations: 2.818 MB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.7627, allocations: 1.594 kB / 1.103 GB, free: 13.82 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.0006326/0.7633, allocations: 465.3 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.7634, allocations: 8.719 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.7634, allocations: 7.906 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.7636, allocations: 187.5 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.7637, allocations: 32 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.7637, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.7638, allocations: 31.98 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.7639, allocations: 70 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.764, allocations: 0.5938 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.764, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.764, allocations: 1.688 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.7646, allocations: 295.3 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.7649, allocations: 64.12 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.765, allocations: 25.39 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.765, allocations: 0.5312 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.7652, allocations: 88.31 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.7652, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000268/0.7654, allocations: 89.58 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.7655, allocations: 63.33 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.7656, allocations: 121.2 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.7656, allocations: 25.7 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.7657, allocations: 92.3 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.7657, allocations: 19.72 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.7658, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7659, allocations: 322.8 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.766, allocations: 20 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.7661, allocations: 61.14 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.7662, allocations: 24.55 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7662, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003142/0.7666, allocations: 109.4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7666, allocations: 15.89 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7666, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7666, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.7668, allocations: 19.92 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7668, allocations: 1.75 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.7669, allocations: 24.05 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.767, allocations: 4 kB / 1.105 GB, free: 11.35 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 0.0001011/0.7671, allocations: 111.7 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.7671, allocations: 11.81 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.7672, allocations: 12.48 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.7672, allocations: 8 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7672, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7672, allocations: 2.531 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.7677, allocations: 362.9 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7677, allocations: 7.938 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.7679, allocations: 15.98 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7679, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.7679, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7679, allocations: 5.562 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7679, allocations: 5.156 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002247/0.7682, allocations: 191.4 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.7682, allocations: 85.02 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.7683, allocations: 0 / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.7684, allocations: 15.98 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.7685, allocations: 15.97 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.7685, allocations: 9.219 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.003e-05/0.7686, allocations: 94.64 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003702/0.7689, allocations: 55.88 kB / 1.106 GB, free: 10.29 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.0004469/0.7694, allocations: 170 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.7696, allocations: 71.86 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7696, allocations: 4 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.7697, allocations: 36.23 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.7699, allocations: 13.5 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.7704, allocations: 120.2 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.7707, allocations: 0.7083 MB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.7707, allocations: 0 / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of Templates: time 0.005229/0.776, allocations: 1.979 MB / 1.109 GB, free: 7.207 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)