Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.38/1.38, allocations: 289.8 MB / 297 MB, free: 6.656 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.001088/0.001088, allocations: 188.7 kB / 366.3 MB, free: 1.977 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.087/1.087, allocations: 205.1 MB / 0.6256 GB, free: 7.5 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.0008223/0.0008222, allocations: 85.33 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2003/0.2012, allocations: 122.4 MB / 0.8591 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.6675, allocations: 116.3 MB / 0.9727 GB, free: 75.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.8111, allocations: 139 MB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.8114, allocations: 67.95 kB / 1.108 GB, free: 11.41 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03209/0.8435, allocations: 10.62 MB / 1.119 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8435, allocations: 8 kB / 1.119 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.8436, allocations: 19.81 kB / 1.119 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.8437, allocations: 187.5 kB / 1.119 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.8437, allocations: 10.16 kB / 1.119 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.8438, allocations: 23.92 kB / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002111/0.844, allocations: 87.95 kB / 1.119 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.8443, allocations: 216.6 kB / 1.119 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.8443, allocations: 0 / 1.119 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.8443, allocations: 1.062 kB / 1.119 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8443, allocations: 4 kB / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.8447, allocations: 368 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.8461, allocations: 475.7 kB / 1.12 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.8463, allocations: 134.5 kB / 1.12 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.8463, allocations: 23.91 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.8466, allocations: 271.1 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.8467, allocations: 4 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0006902/0.8473, allocations: 298.9 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.8475, allocations: 350.1 kB / 1.121 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8476, allocations: 136.6 kB / 1.121 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.8476, allocations: 37.69 kB / 1.121 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.8477, allocations: 93.05 kB / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.8478, allocations: 106.7 kB / 1.122 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.8478, allocations: 0 / 1.122 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8479, allocations: 334.7 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.8481, allocations: 101 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.8483, allocations: 143.4 kB / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.8487, allocations: 157.5 kB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8487, allocations: 1.125 kB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007398/0.8495, allocations: 388 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.8495, allocations: 4 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8495, allocations: 0 / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8495, allocations: 4 kB / 1.123 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.8499, allocations: 71.83 kB / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8499, allocations: 0 / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.8502, allocations: 55.66 kB / 1.123 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.8502, allocations: 19.98 kB / 1.123 GB, free: 12.28 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0001/0.8503, allocations: 126.5 kB / 1.123 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.8504, allocations: 23.72 kB / 1.123 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/0.851, allocations: 338.1 kB / 1.123 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8511, allocations: 9.5 kB / 1.123 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.8511, allocations: 8 kB / 1.123 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.8511, allocations: 3.984 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.8514, allocations: 295.7 kB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.8514, allocations: 4 kB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.8517, allocations: 67.91 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.8517, allocations: 8 kB / 1.124 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.8518, allocations: 19.89 kB / 1.124 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8518, allocations: 11.88 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8518, allocations: 4 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007533/0.8525, allocations: 0.5901 MB / 1.124 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008351/0.8534, allocations: 0.9553 MB / 1.125 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.8535, allocations: 144.7 kB / 1.125 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.8536, allocations: 4 kB / 1.125 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.8539, allocations: 39.88 kB / 1.125 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.854, allocations: 47.94 kB / 1.125 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.854, allocations: 25.11 kB / 1.125 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.033e-05/0.8541, allocations: 123.8 kB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001103/0.8552, allocations: 211.7 kB / 1.126 GB, free: 8.945 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005076/0.8557, allocations: 329.7 kB / 1.126 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.8572, allocations: 2.998 MB / 1.129 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8573, allocations: 4.219 kB / 1.129 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.8575, allocations: 166 kB / 1.129 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.8577, allocations: 21.33 kB / 1.129 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.8584, allocations: 410.7 kB / 1.13 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.8588, allocations: 0.8117 MB / 1.13 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8588, allocations: 0 / 1.13 GB, free: 4.035 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)