Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.518/1.518, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001194/0.001194, allocations: 185.2 kB / 361.1 MB, free: 7.082 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.464/1.464, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008803/0.0008803, allocations: 95.7 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.821e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5439, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.7088, allocations: 139.5 MB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.7091, allocations: 80.45 kB / 1.1 GB, free: 456 kB / 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.009411/0.7185, allocations: 2.917 MB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.7186, allocations: 4.531 kB / 1.103 GB, free: 13.59 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.0006017/0.7192, allocations: 488.8 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7192, allocations: 8.531 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.7193, allocations: 9.109 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.7194, allocations: 184 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.7194, allocations: 4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.7195, allocations: 4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001209/0.7196, allocations: 40.86 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.7197, allocations: 75.34 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7197, allocations: 0.6094 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.7198, allocations: 0.8438 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.7198, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.7202, allocations: 291 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.7204, allocations: 80.48 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.7205, allocations: 31.89 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.7205, allocations: 4 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.7207, allocations: 97.86 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.7207, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002685/0.7209, allocations: 101.5 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.721, allocations: 55.41 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.7211, allocations: 120.4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.7211, allocations: 29.69 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.7211, allocations: 88.14 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.7212, allocations: 27.64 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.7212, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.7213, allocations: 322.8 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.7214, allocations: 23.98 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.7214, allocations: 61.09 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.7215, allocations: 33.06 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7215, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001893/0.7217, allocations: 114.1 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7217, allocations: 4 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7217, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7218, allocations: 8.641 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7219, allocations: 24.08 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7219, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.722, allocations: 15.89 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.722, allocations: 4 kB / 1.105 GB, free: 11.07 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 8.256e-05/0.7221, allocations: 114.9 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.7222, allocations: 11.91 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.7224, allocations: 130.2 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.7224, allocations: 9.281 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7225, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.7225, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.723, allocations: 399.1 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.723, allocations: 0 / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.7231, allocations: 12 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7231, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.7231, allocations: 7.984 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7231, allocations: 0 / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7231, allocations: 0 / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002613/0.7234, allocations: 214.9 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.7235, allocations: 85.02 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.7235, allocations: 0 / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.7236, allocations: 19.89 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.7237, allocations: 15.83 kB / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.7237, allocations: 4 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.913e-05/0.7238, allocations: 103.3 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003305/0.7241, allocations: 47.94 kB / 1.106 GB, free: 9.844 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.0003893/0.7245, allocations: 169.3 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.7247, allocations: 80 kB / 1.106 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7247, allocations: 4.062 kB / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.7248, allocations: 43.98 kB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.7251, allocations: 14.16 kB / 1.106 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.7255, allocations: 136.1 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.7259, allocations: 0.72 MB / 1.107 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7259, allocations: 0 / 1.107 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.005112/0.731, allocations: 2.032 MB / 1.109 GB, free: 6.668 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)