Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [: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.227/2.227, allocations: 253.1 MB / 260.4 MB, free: 7.473 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.001565/0.001564, allocations: 189 kB / 319.6 MB, free: 3.309 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.807/1.807, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001303/0.001303, allocations: 94.36 kB / 0.6746 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.052e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6971/0.9046, allocations: 134 MB / 1.019 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.9049, allocations: 82.44 kB / 1.019 GB, free: 4.352 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.01517/0.9201, allocations: 2.83 MB / 1.022 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.9202, allocations: 4 kB / 1.022 GB, free: 1.992 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.0008701/0.9211, allocations: 456.4 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.9211, allocations: 8.031 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.9212, allocations: 15.8 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.9214, allocations: 175 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.9215, allocations: 0 / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.9215, allocations: 7.906 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001515/0.9217, allocations: 34.42 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.9218, allocations: 60.23 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.9219, allocations: 3.938 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.9219, allocations: 3.984 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.9219, allocations: 4 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.9226, allocations: 293.2 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.9228, allocations: 52.44 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.9229, allocations: 30.36 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.923, allocations: 0 / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.9232, allocations: 89.09 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.9232, allocations: 0 / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003781/0.9236, allocations: 86.52 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.9236, allocations: 62.12 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.9238, allocations: 113.9 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9238, allocations: 26.55 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.9239, allocations: 87.44 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.9239, allocations: 27.22 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.924, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.9242, allocations: 323.9 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.9243, allocations: 17.62 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.9244, allocations: 59.33 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.9245, allocations: 26.61 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9245, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002912/0.9248, allocations: 113.6 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9249, allocations: 11.94 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9249, allocations: 7.922 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.9249, allocations: 4 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.9251, allocations: 18.86 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.9252, allocations: 3.938 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.9254, allocations: 20.11 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.9254, allocations: 4 kB / 1.024 GB, free: 15.71 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.0001139/0.9255, allocations: 112.8 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.9255, allocations: 7.906 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.9259, allocations: 116.7 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.926, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.926, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.926, allocations: 4 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.9267, allocations: 367.9 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9267, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.9269, allocations: 14.94 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.9269, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.9269, allocations: 7.984 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.927, allocations: 3.906 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.927, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003189/0.9273, allocations: 193.1 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.9274, allocations: 85.02 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.9274, allocations: 7.984 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.9276, allocations: 8 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.9277, allocations: 14.58 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.9277, allocations: 7.984 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.413e-05/0.9278, allocations: 91.34 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004963/0.9283, allocations: 50.92 kB / 1.025 GB, free: 14.64 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.0004935/0.9288, allocations: 170.3 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.9291, allocations: 63.92 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9291, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.9293, allocations: 42.75 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.9296, allocations: 11.86 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.9302, allocations: 125.2 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.9306, allocations: 0.7153 MB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.22e-07/0.9306, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.007087/0.9377, allocations: 1.891 MB / 1.028 GB, free: 11.63 MB / 0.6511 GB