Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.21/2.21, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.0024/0.0024, allocations: 193.2 kB / 360.4 MB, free: 7.492 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.789/1.789, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001254/0.001253, allocations: 89.81 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.405e-06/8.516e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.6057, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/0.872, allocations: 139.3 MB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.8724, allocations: 81.31 kB / 1.099 GB, free: 1.402 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.01522/0.8876, allocations: 2.832 MB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8877, allocations: 0.7812 kB / 1.102 GB, free: 14.64 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.0008296/0.8885, allocations: 470.8 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.8886, allocations: 8.031 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.8887, allocations: 7.906 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.8888, allocations: 167 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.8889, allocations: 4 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.8889, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001551/0.8891, allocations: 38.12 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.8893, allocations: 69.59 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8893, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.8893, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.8893, allocations: 3.906 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.8901, allocations: 295 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.8903, allocations: 63.27 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.8904, allocations: 24.95 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.8904, allocations: 3.938 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.8906, allocations: 79.38 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.8906, allocations: 4 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003645/0.891, allocations: 93.52 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.891, allocations: 55.41 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.8912, allocations: 121.9 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.8912, allocations: 25.7 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.8913, allocations: 92.27 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.8913, allocations: 19.72 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.8913, allocations: 0 / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8915, allocations: 330.8 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.8916, allocations: 20 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.8917, allocations: 57.14 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.8918, allocations: 28.81 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8918, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002915/0.8921, allocations: 98.17 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.8921, allocations: 7.984 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8922, allocations: 4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8922, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.8924, allocations: 19.92 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.8924, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.8926, allocations: 17.34 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.8927, allocations: 11.98 kB / 1.104 GB, free: 12.22 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.0001095/0.8928, allocations: 112.3 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.8928, allocations: 8.609 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.8932, allocations: 114 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.8933, allocations: 7.906 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8933, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.8933, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007351/0.894, allocations: 379.8 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8941, allocations: 0 / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.8942, allocations: 19.98 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.8942, allocations: 0 / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.8942, allocations: 1.75 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8942, allocations: 0 / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8943, allocations: 0 / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000309/0.8946, allocations: 201.2 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.8946, allocations: 89 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.8947, allocations: 7.938 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.8949, allocations: 11.98 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.895, allocations: 11.98 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.895, allocations: 4 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.075e-05/0.8951, allocations: 95.27 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000486/0.8956, allocations: 51.94 kB / 1.105 GB, free: 11.04 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.0004481/0.8961, allocations: 159.1 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.8963, allocations: 71.86 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8963, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.8965, allocations: 43.92 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.8969, allocations: 16.16 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.8974, allocations: 122.2 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.8977, allocations: 0.7114 MB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.8978, allocations: 0 / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of Templates: time 0.006454/0.9042, allocations: 1.882 MB / 1.108 GB, free: 8.055 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)