Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.396/2.396, allocations: 253.1 MB / 260.4 MB, free: 7.641 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.00156/0.00156, allocations: 181.2 kB / 319.6 MB, free: 3.316 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.942/1.942, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.00124/0.00124, allocations: 98.33 kB / 0.6746 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.052e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7991/1.007, allocations: 134 MB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.007, allocations: 85.56 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.01492/1.022, allocations: 2.835 MB / 1.022 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.022, allocations: 7.375 kB / 1.022 GB, free: 1.953 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.0008589/1.023, allocations: 456 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.023, allocations: 12.03 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/1.023, allocations: 11.81 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/1.024, allocations: 171 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.024, allocations: 4 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/1.024, allocations: 7.906 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001489/1.024, allocations: 30.17 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.024, allocations: 63.47 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.024, allocations: 0 / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.024, allocations: 0 / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.024, allocations: 0 / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/1.025, allocations: 304.6 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/1.025, allocations: 49 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/1.025, allocations: 30.48 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/1.025, allocations: 0.8438 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/1.025, allocations: 85.25 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 4.208e-06/1.025, allocations: 96 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000359/1.026, allocations: 102.5 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.026, allocations: 55.39 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/1.026, allocations: 113.8 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.026, allocations: 29.7 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/1.026, allocations: 92.17 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/1.026, allocations: 18.55 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.026, allocations: 4 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.026, allocations: 318.6 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/1.026, allocations: 18.88 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/1.026, allocations: 67.27 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/1.027, allocations: 23.05 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.027, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003127/1.027, allocations: 115 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.027, allocations: 6.656 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.027, allocations: 12.06 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.027, allocations: 0 / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.027, allocations: 15.98 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.027, allocations: 4 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/1.027, allocations: 11.98 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/1.027, allocations: 4 kB / 1.024 GB, free: 15.69 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.0001165/1.028, allocations: 120.3 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/1.028, allocations: 7.906 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/1.028, allocations: 110.5 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.028, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.028, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.028, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/1.029, allocations: 377.6 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.029, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.029, allocations: 15.98 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.029, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/1.029, allocations: 7.469 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.029, allocations: 3.938 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.029, allocations: 8 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003084/1.029, allocations: 192.5 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/1.029, allocations: 85.02 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/1.029, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/1.03, allocations: 15.89 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/1.03, allocations: 15.55 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/1.03, allocations: 4.094 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.968e-05/1.03, allocations: 102.1 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005014/1.03, allocations: 44 kB / 1.025 GB, free: 14.6 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 (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.0005355/1.031, allocations: 169.4 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002478/1.031, allocations: 65.67 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.031, allocations: 3.5 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/1.031, allocations: 41.36 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/1.032, allocations: 7.938 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/1.032, allocations: 135.7 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/1.033, allocations: 0.7194 MB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of SimCode: time 8.61e-07/1.033, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.006695/1.039, allocations: 1.892 MB / 1.028 GB, free: 11.59 MB / 0.6511 GB