Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [: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.324/2.324, allocations: 253.1 MB / 260.4 MB, free: 7.559 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.001702/0.001702, allocations: 185.2 kB / 319.6 MB, free: 3.305 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.935/1.935, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001286/0.001285, allocations: 83.42 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.082e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2276, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6769/0.9046, allocations: 133.7 MB / 1.019 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.9049, allocations: 73.95 kB / 1.019 GB, free: 4.723 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif 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.01683/0.9218, allocations: 3.059 MB / 1.022 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.9218, allocations: 0 / 1.022 GB, free: 2.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008179/0.9227, allocations: 419.7 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.9227, allocations: 12.03 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.9228, allocations: 11.81 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.923, allocations: 166.2 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.923, allocations: 4 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.9231, allocations: 7.984 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001888/0.9233, allocations: 45.7 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.9235, allocations: 90.05 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9235, allocations: 0 / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.9236, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.9236, allocations: 4 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.9245, allocations: 489.3 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.9252, allocations: 127.7 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.9254, allocations: 51.92 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.9254, allocations: 3.984 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.9256, allocations: 102.5 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.9256, allocations: 0 / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004554/0.9261, allocations: 106.8 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.9262, allocations: 106.8 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.9263, allocations: 112.4 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.9264, allocations: 29.7 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.9265, allocations: 84.33 kB / 1.024 GB, free: 124 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.9265, allocations: 38.42 kB / 1.024 GB, free: 92 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.9265, allocations: 0 / 1.024 GB, free: 92 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.9267, allocations: 318.6 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.9268, allocations: 34.47 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.927, allocations: 47.95 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.9272, allocations: 37.47 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9272, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004801/0.9277, allocations: 133.3 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9277, allocations: 6.188 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.9277, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.9278, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.9281, allocations: 19.92 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9281, allocations: 4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.9283, allocations: 11.94 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.9284, allocations: 7.25 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.0001631/0.9286, allocations: 112.9 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.9286, allocations: 7.906 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.9292, allocations: 113.9 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.9292, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9292, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.9293, allocations: 7.891 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.9296, allocations: 185.7 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.9296, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.9299, allocations: 23.92 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.9299, allocations: 3.906 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.93, allocations: 7.25 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.93, allocations: 4 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.93, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005898/0.9306, allocations: 182.1 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.9308, allocations: 100.4 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.9309, allocations: 4 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.9311, allocations: 11.92 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.9312, allocations: 19.89 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.9312, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001127/0.9313, allocations: 90.03 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006518/0.932, allocations: 59.83 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000456/0.9325, allocations: 157.6 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.9335, allocations: 0.7613 MB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9335, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.9338, allocations: 50 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.9341, allocations: 12.05 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.9349, allocations: 153.1 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.9354, allocations: 0.7192 MB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.9354, allocations: 0 / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.00693/0.9424, allocations: 1.586 MB / 1.028 GB, free: 11.13 MB / 0.6511 GB