Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [: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.5/1.5, 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.001181/0.001181, allocations: 189.3 kB / 361.1 MB, free: 7.121 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.411/1.411, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008067/0.0008067, allocations: 93.83 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.774e-06, allocations: 0 / 0.8511 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6549, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.8296, allocations: 139.4 MB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.8299, allocations: 80.56 kB / 1.1 GB, free: 0.5312 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.009086/0.839, allocations: 2.825 MB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.839, allocations: 6.281 kB / 1.103 GB, free: 13.77 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.00057/0.8396, allocations: 455.2 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.8396, allocations: 9.875 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.8397, allocations: 11.89 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.8398, allocations: 171.5 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.8398, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.8398, allocations: 4.531 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.84, allocations: 37.33 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8401, allocations: 57.67 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8401, allocations: 0.7031 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.8401, allocations: 4.766 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8401, allocations: 3.906 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.8407, allocations: 300 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.8408, allocations: 58.97 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.8408, allocations: 24.86 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.8409, allocations: 4 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.841, allocations: 75.38 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.841, allocations: 4 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002829/0.8413, allocations: 99.02 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.8413, allocations: 51.41 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.8415, allocations: 117 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.8415, allocations: 29.7 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.8415, allocations: 92.27 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.8416, allocations: 23.86 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.8416, allocations: 3.938 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8417, allocations: 318.8 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.8418, allocations: 24 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/0.8419, allocations: 61.08 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.8419, allocations: 24.55 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.8419, allocations: 0.9375 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001824/0.8421, allocations: 102.7 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8422, allocations: 11.94 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8422, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.8422, allocations: 5.5 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.8423, allocations: 15.98 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8423, allocations: 7.984 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.8425, allocations: 16.03 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.8425, allocations: 8 kB / 1.105 GB, free: 11.36 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.0001044/0.8426, allocations: 108.9 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.8426, allocations: 11.66 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.8429, allocations: 114.8 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.8429, allocations: 3.906 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8429, allocations: 4 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8429, allocations: 3.938 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.8434, allocations: 377.1 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8434, allocations: 0 / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.8435, allocations: 13.5 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8435, allocations: 0 / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.8436, allocations: 8.922 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.8436, allocations: 0 / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8436, allocations: 2.812 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002221/0.8438, allocations: 199.2 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.8439, allocations: 81.02 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.8439, allocations: 11.98 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.844, allocations: 12 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.8441, allocations: 11.97 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.8441, allocations: 0 / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.716e-05/0.8442, allocations: 97.66 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003345/0.8445, allocations: 51.92 kB / 1.106 GB, free: 10.19 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 (12): * Single equations (assignments): 9 * 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.0004492/0.845, allocations: 173.5 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.8452, allocations: 74.05 kB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8453, allocations: 0 / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.8453, allocations: 32 kB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.8456, allocations: 20.14 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.846, allocations: 124.2 kB / 1.106 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.8463, allocations: 0.7161 MB / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8463, allocations: 0 / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of Templates: time 0.004743/0.8511, allocations: 1.899 MB / 1.109 GB, free: 7.18 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)