Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [: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 7.0.1/package.mo): time 2.507/2.507, allocations: 253.1 MB / 260.4 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.001599, allocations: 177.1 kB / 319.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 98.59 kB / 0.6746 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.175e-05/1.191e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 106.3 MB / 0.888 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.9852, allocations: 133.9 MB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.9856, allocations: 86.61 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0151/1.001, allocations: 2.811 MB / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.001, allocations: 4 kB / 1.022 GB, free: 1.98 MB / 0.6355 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.0009781/1.002, allocations: 472.2 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.002, allocations: 12.03 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/1.002, allocations: 7.906 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/1.002, allocations: 173.3 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.002, allocations: 41.69 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/1.002, allocations: 3.938 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001664/1.003, allocations: 36.48 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.003, allocations: 58.86 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.003, allocations: 0 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/1.003, allocations: 0 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/1.003, allocations: 3.984 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/1.004, allocations: 304.4 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/1.004, allocations: 55.94 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/1.004, allocations: 26.92 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/1.004, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/1.004, allocations: 86.34 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/1.004, allocations: 0 / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004141/1.005, allocations: 94.08 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/1.005, allocations: 55.41 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.005, allocations: 115 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/1.005, allocations: 25.8 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/1.005, allocations: 96.17 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/1.005, allocations: 23.53 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/1.005, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.005, allocations: 318 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/1.005, allocations: 19.62 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/1.005, allocations: 63.77 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/1.005, allocations: 31.39 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.005, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002942/1.006, allocations: 103.2 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.006, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.006, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.006, allocations: 3.938 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/1.006, allocations: 28.09 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.006, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/1.006, allocations: 24.7 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/1.006, allocations: 4 kB / 1.024 GB, free: 15.65 MB / 0.6511 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.0001174/1.007, allocations: 114.5 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/1.007, allocations: 11.91 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/1.007, allocations: 7.688 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.007, allocations: 8.078 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.007, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.007, allocations: 3.984 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/1.007, allocations: 374.5 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.007, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/1.008, allocations: 11.98 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.008, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/1.008, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.008, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/1.008, allocations: 11.94 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003241/1.008, allocations: 198.9 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/1.008, allocations: 88.92 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/1.008, allocations: 0 / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/1.008, allocations: 15.98 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/1.008, allocations: 11.73 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.009, allocations: 3.984 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.974e-05/1.009, allocations: 106.2 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000498/1.009, allocations: 55.86 kB / 1.025 GB, free: 14.63 MB / 0.6511 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 (10): * Single equations (assignments): 7 * 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.0004784/1.01, allocations: 153.7 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002582/1.01, allocations: 71.42 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.01, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.01, allocations: 42.86 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/1.01, allocations: 11.06 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/1.011, allocations: 129 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/1.011, allocations: 0.7155 MB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/1.011, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.007238/1.019, allocations: 1.959 MB / 1.028 GB, free: 11.57 MB / 0.6511 GB