Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [: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.1.4-maint.8.1.x/package.mo): time 1.499/1.499, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001047/0.001047, allocations: 181.3 kB / 366.3 MB, free: 1.977 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.245/1.245, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.0009002/0.0009002, allocations: 89.16 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.932e-06/5.952e-06, allocations: 0 / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.488, allocations: 116.3 MB / 0.9725 GB, free: 76.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.6362, allocations: 140.4 MB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.6365, allocations: 75.95 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008785/0.6453, allocations: 2.833 MB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.6453, allocations: 0 / 1.113 GB, free: 7.285 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.0005353/0.6458, allocations: 466.5 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6459, allocations: 8.031 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.6459, allocations: 12.77 kB / 1.113 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.6461, allocations: 170.9 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.6461, allocations: 5.031 kB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.6461, allocations: 4 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/0.6462, allocations: 31.98 kB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.6463, allocations: 59.58 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.6464, allocations: 0 / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.6464, allocations: 7.922 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6464, allocations: 4.844 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.6469, allocations: 297.8 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/0.647, allocations: 54.47 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.647, allocations: 28.86 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6471, allocations: 12.14 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.6472, allocations: 76.53 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6472, allocations: 0 / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002292/0.6474, allocations: 93.58 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.6474, allocations: 52.06 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.6475, allocations: 123.9 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.6476, allocations: 25.7 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.6476, allocations: 96.27 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.6476, allocations: 19.72 kB / 1.114 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.6476, allocations: 3.938 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.6477, allocations: 318.8 kB / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.6478, allocations: 20.94 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.6478, allocations: 59.08 kB / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.6479, allocations: 31.97 kB / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6479, allocations: 0 / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001613/0.6481, allocations: 105.5 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.6481, allocations: 4 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6481, allocations: 4 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6481, allocations: 0 / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.6483, allocations: 20.11 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.6483, allocations: 11.92 kB / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.6484, allocations: 12.47 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.6484, allocations: 4 kB / 1.115 GB, free: 4.867 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 6.95e-05/0.6485, allocations: 109.5 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.6485, allocations: 11.91 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.6488, allocations: 118 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6488, allocations: 3.906 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6488, allocations: 0.6562 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6488, allocations: 3.938 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.6492, allocations: 379.7 kB / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6493, allocations: 0 / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.6493, allocations: 11.94 kB / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6493, allocations: 0 / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6494, allocations: 5.359 kB / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6494, allocations: 4.844 kB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6494, allocations: 0 / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001944/0.6496, allocations: 200.3 kB / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.6496, allocations: 85.02 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.6497, allocations: 7.984 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.6498, allocations: 8 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.6498, allocations: 11.97 kB / 1.116 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.6499, allocations: 4 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.542e-05/0.6499, allocations: 95.28 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002933/0.6502, allocations: 53.33 kB / 1.116 GB, free: 3.691 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.0003181/0.6505, allocations: 178.9 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.6507, allocations: 75.86 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6507, allocations: 0 / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.6508, allocations: 35.94 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.651, allocations: 18.81 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.6513, allocations: 115.5 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.6516, allocations: 0.7202 MB / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.6516, allocations: 0 / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of Templates: time 0.004093/0.6557, allocations: 1.887 MB / 1.119 GB, free: 0.6836 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)