Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 192.3 kB / 316 MB, free: 3.488 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.2 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008183/0.0008182, allocations: 82.41 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3321/0.333, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.4943, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.9528, allocations: 133.2 MB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.9531, allocations: 66.41 kB / 1.015 GB, free: 5.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0103/0.9634, allocations: 3.485 MB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.9634, allocations: 12 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.9635, allocations: 7.906 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.9636, allocations: 170.3 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.9636, allocations: 4 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.9637, allocations: 11.89 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.924e-05/0.9638, allocations: 36.3 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.9639, allocations: 94.42 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.9639, allocations: 0 / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.9639, allocations: 4 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.964, allocations: 0 / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.9644, allocations: 491.9 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.9648, allocations: 133.6 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.9649, allocations: 37.64 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.9649, allocations: 11.47 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.9651, allocations: 98.48 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.9651, allocations: 0 / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003011/0.9654, allocations: 107.6 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.9654, allocations: 106.8 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.9655, allocations: 117.2 kB / 1.02 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.9655, allocations: 25.7 kB / 1.02 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.9656, allocations: 100 kB / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.9656, allocations: 26.69 kB / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.9656, allocations: 3.938 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.9657, allocations: 322.5 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.9658, allocations: 29.69 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.9659, allocations: 34.61 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.966, allocations: 54.02 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.966, allocations: 0 / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/0.9663, allocations: 129.8 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.9663, allocations: 8 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9663, allocations: 0 / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.9663, allocations: 0 / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.9664, allocations: 19.98 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9664, allocations: 3.984 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.9665, allocations: 11.84 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.9666, allocations: 4 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 8.9e-05/0.9667, allocations: 120.1 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.9667, allocations: 7.906 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.9669, allocations: 109.5 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9669, allocations: 0 / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.967, allocations: 4 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.967, allocations: 3.984 kB / 1.021 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.9671, allocations: 190.4 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9672, allocations: 0 / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.9673, allocations: 19.98 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9673, allocations: 0 / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.9673, allocations: 4 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9673, allocations: 0 / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9673, allocations: 0 / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002578/0.9676, allocations: 197.1 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003594/0.9679, allocations: 0.5515 MB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.968, allocations: 107.5 kB / 1.022 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.9681, allocations: 7.938 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.9682, allocations: 4.875 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.9682, allocations: 14.92 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.9682, allocations: 7.984 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.975e-05/0.9683, allocations: 94.03 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008264/0.9691, allocations: 66.98 kB / 1.022 GB, free: 14.92 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.0002337/0.9694, allocations: 159.7 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.97, allocations: 0.7691 MB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.97, allocations: 0 / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.9701, allocations: 45.56 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.9703, allocations: 12 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.9707, allocations: 144.4 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.971, allocations: 0.7259 MB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9711, allocations: 0 / 1.024 GB, free: 13.05 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)