Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [: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.464/1.464, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001126/0.001126, allocations: 173.3 kB / 361.1 MB, free: 7.102 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.406/1.406, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008087/0.000809, allocations: 87.06 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.786e-06, allocations: 4 kB / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6573, allocations: 115.3 MB / 0.9637 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.8317, allocations: 139.5 MB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.832, allocations: 86.14 kB / 1.1 GB, free: 388 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.009833/0.8419, allocations: 2.988 MB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.8419, allocations: 0 / 1.103 GB, free: 13.46 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.0006029/0.8425, allocations: 0.4918 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8426, allocations: 8.531 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.8426, allocations: 13.03 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.8428, allocations: 178.7 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.8428, allocations: 0.5 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.8428, allocations: 4.594 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.843, allocations: 47.91 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.8431, allocations: 71.05 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8431, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.8431, allocations: 0.6875 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8432, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.8436, allocations: 301.4 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.8438, allocations: 75.23 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.8439, allocations: 24.86 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.8439, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.8441, allocations: 101.2 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.8441, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002706/0.8443, allocations: 109.5 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.8444, allocations: 51.41 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.8445, allocations: 129.9 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.8445, allocations: 29.7 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.8445, allocations: 84.14 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.8446, allocations: 31.64 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.8446, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8447, allocations: 322.8 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.8448, allocations: 20 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.8448, allocations: 59.95 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.8449, allocations: 31.98 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8449, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001819/0.8451, allocations: 113.3 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.8451, allocations: 8 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8451, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8451, allocations: 7.938 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.8453, allocations: 19.92 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8453, allocations: 8.094 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.8454, allocations: 15.89 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.8454, allocations: 8 kB / 1.105 GB, free: 10.91 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.014e-05/0.8455, allocations: 109.5 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.8455, allocations: 7.906 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.8458, allocations: 142 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8459, allocations: 4 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8459, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8459, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.8464, allocations: 411 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8464, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.8465, allocations: 18.33 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8465, allocations: 1.875 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.8465, allocations: 4 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8466, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8466, allocations: 3.906 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002421/0.8468, allocations: 218.3 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.8469, allocations: 88.92 kB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.8469, allocations: 0 / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.847, allocations: 11.98 kB / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.8471, allocations: 19.92 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.8471, allocations: 7.984 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.438e-05/0.8472, allocations: 99.28 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003139/0.8475, allocations: 51.92 kB / 1.106 GB, free: 9.652 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 (14): * Single equations (assignments): 11 * 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.0003455/0.8479, allocations: 169.3 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.848, allocations: 79.92 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.848, allocations: 8.125 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.8481, allocations: 47.92 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.8484, allocations: 21.2 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.8488, allocations: 136 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.8491, allocations: 0.7256 MB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8491, allocations: 4 kB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of Templates: time 0.004931/0.854, allocations: 2.081 MB / 1.11 GB, free: 6.402 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)