Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.361/1.361, allocations: 289.8 MB / 297 MB, free: 6.684 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.001016/0.001016, allocations: 187.9 kB / 366.3 MB, free: 2.008 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.068/1.068, allocations: 205.1 MB / 0.6256 GB, free: 5.871 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.0007862/0.0007862, allocations: 86.67 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2/0.2008, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.6985, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.8444, allocations: 139.1 MB / 1.109 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.8447, allocations: 69.39 kB / 1.109 GB, free: 9.301 MB / 0.7136 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.01022/0.8549, allocations: 3.476 MB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.855, allocations: 8 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.855, allocations: 7.906 kB / 1.112 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.8552, allocations: 176.9 kB / 1.112 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.8552, allocations: 4 kB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.8552, allocations: 8 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.8553, allocations: 39.98 kB / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.8555, allocations: 88.23 kB / 1.112 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.8555, allocations: 0 / 1.112 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8555, allocations: 0.9375 kB / 1.112 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.8555, allocations: 0 / 1.112 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.856, allocations: 0.4937 MB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.8565, allocations: 127.8 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.8565, allocations: 46.52 kB / 1.113 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.8566, allocations: 8.172 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.8567, allocations: 101.9 kB / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.8567, allocations: 0 / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002757/0.857, allocations: 101.5 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.8571, allocations: 110.8 kB / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.8571, allocations: 115.5 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.8572, allocations: 37.72 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.8572, allocations: 80.42 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.8573, allocations: 35.55 kB / 1.114 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.8573, allocations: 0 / 1.114 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.8574, allocations: 314.8 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.8574, allocations: 32 kB / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.8575, allocations: 35.98 kB / 1.114 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.8576, allocations: 47 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8576, allocations: 3.906 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000243/0.8579, allocations: 137.5 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.8579, allocations: 4 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.8579, allocations: 4 kB / 1.114 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.8579, allocations: 0 / 1.114 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.858, allocations: 16.05 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.858, allocations: 4 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.8582, allocations: 15.84 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.8582, allocations: 7.984 kB / 1.114 GB, free: 3.406 MB / 0.7136 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 7.4e-05/0.8583, allocations: 116.9 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.8583, allocations: 7.906 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.8585, allocations: 102 kB / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.8585, allocations: 7.938 kB / 1.114 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8585, allocations: 3.906 kB / 1.114 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8586, allocations: 4 kB / 1.114 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.8587, allocations: 178.2 kB / 1.115 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8587, allocations: 7.906 kB / 1.115 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.8588, allocations: 19.92 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8588, allocations: 4 kB / 1.115 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.8588, allocations: 5.219 kB / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8589, allocations: 4 kB / 1.115 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8589, allocations: 0 / 1.115 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002398/0.8591, allocations: 193.9 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003138/0.8594, allocations: 0.5493 MB / 1.115 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.8595, allocations: 104.9 kB / 1.115 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.8595, allocations: 4 kB / 1.115 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.8596, allocations: 4 kB / 1.115 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.8597, allocations: 15.97 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8597, allocations: 7.906 kB / 1.115 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.559e-05/0.8598, allocations: 99.28 kB / 1.115 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009268/0.8607, allocations: 59.92 kB / 1.116 GB, free: 1.781 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.0002361/0.8609, allocations: 159.2 kB / 1.116 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.8614, allocations: 0.7617 MB / 1.116 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.8614, allocations: 0 / 1.116 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.8615, allocations: 52.19 kB / 1.117 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.8617, allocations: 14.64 kB / 1.117 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.862, allocations: 146.4 kB / 1.117 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.8623, allocations: 0.7231 MB / 1.117 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8623, allocations: 4 kB / 1.117 GB, free: 15.85 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)