Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 179.4 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007453/0.0007453, allocations: 86.27 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1746/0.1754, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.5798, allocations: 115.3 MB / 0.9638 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.7121, allocations: 138.1 MB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.7123, allocations: 67.95 kB / 1.099 GB, free: 1.855 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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: 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.01001/0.7224, allocations: 3.395 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.7224, allocations: 12.53 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.7225, allocations: 7.906 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7226, allocations: 180.9 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.7226, allocations: 5.922 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.7226, allocations: 8 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.7227, allocations: 32 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.7229, allocations: 99.39 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7229, allocations: 1.25 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.7229, allocations: 3.984 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7229, allocations: 0.6875 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.7234, allocations: 498.8 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.7239, allocations: 127.8 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.7239, allocations: 42.52 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.7239, allocations: 4.656 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.7241, allocations: 102 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.7241, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002593/0.7243, allocations: 106.1 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.7244, allocations: 110.9 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.7245, allocations: 118.5 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.7245, allocations: 25.7 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.7246, allocations: 96.31 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.7246, allocations: 27.56 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.7246, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.7247, allocations: 322.8 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.7248, allocations: 28 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.7248, allocations: 41.7 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.7249, allocations: 53.22 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.725, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002386/0.7252, allocations: 125.5 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7252, allocations: 10.66 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7252, allocations: 0.7969 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.7252, allocations: 1.125 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.7254, allocations: 19.92 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7254, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.7255, allocations: 17.72 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.7255, allocations: 7.984 kB / 1.104 GB, free: 12.1 MB / 0.7136 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 6.807e-05/0.7256, allocations: 107.2 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.7256, allocations: 8.516 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.7258, allocations: 110 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7258, allocations: 7.984 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7258, allocations: 4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7258, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.726, allocations: 186.1 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.726, allocations: 0.9375 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.7261, allocations: 23.92 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7261, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.7261, allocations: 5.875 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7261, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7261, allocations: 4 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/0.7264, allocations: 188.9 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000317/0.7267, allocations: 0.5531 MB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.7268, allocations: 108.8 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.7268, allocations: 4 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.7269, allocations: 11.69 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.727, allocations: 11.98 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.727, allocations: 9.672 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.352e-05/0.727, allocations: 103.3 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000794/0.7278, allocations: 55.92 kB / 1.106 GB, free: 10.48 MB / 0.7136 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.0002119/0.7281, allocations: 170.3 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.7285, allocations: 0.757 MB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7285, allocations: 0 / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.7286, allocations: 43.94 kB / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.7287, allocations: 8 kB / 1.107 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.7291, allocations: 145.8 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.7294, allocations: 0.7317 MB / 1.107 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.7294, allocations: 0 / 1.107 GB, free: 8.543 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)