Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.371/2.371, allocations: 284.9 MB / 292.2 MB, free: 9.902 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.001623/0.001622, allocations: 182.4 kB / 360.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 0.6188 GB, free: 3.254 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 87.95 kB / 0.7318 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.076e-05, allocations: 0 / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2357, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6713/0.9071, allocations: 139.4 MB / 1.099 GB, free: 24.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.9075, allocations: 84.45 kB / 1.099 GB, free: 24.97 MB / 0.7136 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.01853/0.926, allocations: 2.98 MB / 1.102 GB, free: 24.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9261, allocations: 3.688 kB / 1.102 GB, free: 24.81 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.0009405/0.927, allocations: 498.3 kB / 1.102 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.9271, allocations: 11.25 kB / 1.102 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.9272, allocations: 16.42 kB / 1.102 GB, free: 24.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.9274, allocations: 188 kB / 1.103 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.9274, allocations: 0 / 1.103 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.9275, allocations: 3.688 kB / 1.103 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002157/0.9277, allocations: 42.86 kB / 1.103 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.9279, allocations: 62.66 kB / 1.103 GB, free: 24.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.928, allocations: 3.219 kB / 1.103 GB, free: 24.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.928, allocations: 0 / 1.103 GB, free: 24.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.928, allocations: 0.6562 kB / 1.103 GB, free: 24.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.9288, allocations: 304.2 kB / 1.103 GB, free: 23.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.9291, allocations: 70.27 kB / 1.103 GB, free: 23.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.9292, allocations: 30.98 kB / 1.103 GB, free: 23.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.9293, allocations: 5.219 kB / 1.103 GB, free: 23.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.9295, allocations: 96.3 kB / 1.103 GB, free: 23.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.955e-06/0.9295, allocations: 3.938 kB / 1.103 GB, free: 23.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000513/0.9301, allocations: 107.4 kB / 1.103 GB, free: 23.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.9301, allocations: 52.28 kB / 1.103 GB, free: 23.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.9303, allocations: 127.2 kB / 1.103 GB, free: 23.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.9303, allocations: 28.98 kB / 1.103 GB, free: 23.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.9304, allocations: 90.8 kB / 1.104 GB, free: 23.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.9304, allocations: 26.66 kB / 1.104 GB, free: 23.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.9305, allocations: 0 / 1.104 GB, free: 23.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.9306, allocations: 328.3 kB / 1.104 GB, free: 23.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.9307, allocations: 18.69 kB / 1.104 GB, free: 23.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.9308, allocations: 58.31 kB / 1.104 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.931, allocations: 30.42 kB / 1.104 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.931, allocations: 4 kB / 1.104 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003723/0.9314, allocations: 114.2 kB / 1.104 GB, free: 23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.9314, allocations: 3.875 kB / 1.104 GB, free: 23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9314, allocations: 3.875 kB / 1.104 GB, free: 23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.9315, allocations: 0 / 1.104 GB, free: 23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.9318, allocations: 24.78 kB / 1.104 GB, free: 23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9318, allocations: 0 / 1.104 GB, free: 23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.932, allocations: 27.28 kB / 1.104 GB, free: 22.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.9321, allocations: 7.859 kB / 1.104 GB, free: 22.98 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 0.0001193/0.9322, allocations: 111.9 kB / 1.104 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.9323, allocations: 11.77 kB / 1.104 GB, free: 22.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.9328, allocations: 136 kB / 1.104 GB, free: 22.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9329, allocations: 4 kB / 1.104 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9329, allocations: 0 / 1.104 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.9329, allocations: 0 / 1.104 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.9336, allocations: 411.8 kB / 1.105 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9337, allocations: 0.6875 kB / 1.105 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.9338, allocations: 19.38 kB / 1.105 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.9338, allocations: 0 / 1.105 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.9339, allocations: 5.281 kB / 1.105 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.9339, allocations: 4.5 kB / 1.105 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9339, allocations: 0 / 1.105 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003303/0.9342, allocations: 217.6 kB / 1.105 GB, free: 22.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.9343, allocations: 88.8 kB / 1.105 GB, free: 22.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.9343, allocations: 7.875 kB / 1.105 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.9346, allocations: 13.22 kB / 1.105 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.9346, allocations: 8.719 kB / 1.105 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.9347, allocations: 9.156 kB / 1.105 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.094e-05/0.9347, allocations: 98.47 kB / 1.105 GB, free: 22.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004914/0.9352, allocations: 52.19 kB / 1.105 GB, free: 22.21 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.0004339/0.9357, allocations: 165.1 kB / 1.105 GB, free: 22.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.9359, allocations: 80.41 kB / 1.106 GB, free: 22.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.936, allocations: 0 / 1.106 GB, free: 22.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.9361, allocations: 51.91 kB / 1.106 GB, free: 22.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.9365, allocations: 18.67 kB / 1.106 GB, free: 22.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.937, allocations: 146.4 kB / 1.106 GB, free: 21.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.9373, allocations: 0.7264 MB / 1.106 GB, free: 37.29 MB / 0.7292 GB Notification: Performance of SimCode: time 6.92e-07/0.9373, allocations: 0 / 1.106 GB, free: 37.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.006389/0.9437, allocations: 2.066 MB / 1.108 GB, free: 37.11 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)