Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [: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.222/2.222, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001668/0.001668, allocations: 185.2 kB / 360.4 MB, free: 7.504 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.749/1.749, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001227/0.001226, allocations: 79.81 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.021e-05, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5957, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.8352, allocations: 139.3 MB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.8356, allocations: 85.66 kB / 1.099 GB, free: 1.352 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01564/0.8513, allocations: 2.919 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.8513, allocations: 0.5 kB / 1.102 GB, free: 14.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008641/0.8522, allocations: 490.9 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8523, allocations: 8.031 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.8523, allocations: 8.562 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.8525, allocations: 181.9 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8526, allocations: 1.266 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.8526, allocations: 4.5 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002213/0.8528, allocations: 43.89 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.8531, allocations: 71.59 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.8531, allocations: 2.562 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.8531, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.8531, allocations: 6.359 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.8538, allocations: 293.8 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.8541, allocations: 78.72 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8542, allocations: 34.06 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.8542, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.8544, allocations: 83.31 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.8545, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004139/0.8549, allocations: 105.5 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.8549, allocations: 64.06 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.8551, allocations: 118.4 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.8551, allocations: 25.7 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.8552, allocations: 92.12 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.8553, allocations: 23.66 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.8553, allocations: 0 / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8554, allocations: 322.7 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.8555, allocations: 20.66 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.8557, allocations: 69.14 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.875e-05/0.8558, allocations: 24.55 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8558, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003118/0.8561, allocations: 114.2 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8561, allocations: 8.875 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8562, allocations: 4 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8562, allocations: 3.75 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.8564, allocations: 23.92 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.8564, allocations: 3.938 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.8566, allocations: 19.89 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.8567, allocations: 8 kB / 1.104 GB, free: 11.97 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.00014/0.8568, allocations: 118.3 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.8569, allocations: 7.906 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.8573, allocations: 122 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8573, allocations: 4 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.8573, allocations: 2.219 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8574, allocations: 3.984 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.8582, allocations: 391.1 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8582, allocations: 3.984 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.8584, allocations: 15.94 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8584, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.8584, allocations: 7.984 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.8584, allocations: 4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8584, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000374/0.8588, allocations: 205.1 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.859, allocations: 89.52 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.859, allocations: 1.625 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.8592, allocations: 19.89 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.8593, allocations: 11.98 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.8593, allocations: 4 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.869e-05/0.8594, allocations: 102.5 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005198/0.86, allocations: 47.94 kB / 1.105 GB, free: 10.75 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0004964/0.8605, allocations: 173.1 kB / 1.105 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.8608, allocations: 79.92 kB / 1.105 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8608, allocations: 3.938 kB / 1.105 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.861, allocations: 50.45 kB / 1.105 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.8613, allocations: 11.98 kB / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.8619, allocations: 136.3 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/0.8623, allocations: 0.7153 MB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.8623, allocations: 0 / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of Templates: time 0.007331/0.8697, allocations: 2.024 MB / 1.108 GB, free: 7.586 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)