Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [: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 8.0.0/package.mo): time 2.137/2.137, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 169.3 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 94.08 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 0 / 0.8503 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5473, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.7512, allocations: 137.8 MB / 1.097 GB, free: 2.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.7515, allocations: 69.55 kB / 1.097 GB, free: 2.898 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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: Performance of FrontEnd: time 0.05355/0.8051, allocations: 9.694 MB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.8051, allocations: 0 / 1.107 GB, free: 9.277 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001933/0.8071, allocations: 0.6197 MB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8071, allocations: 12.53 kB / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.8072, allocations: 15.81 kB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.8074, allocations: 193.6 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.8075, allocations: 9.594 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.8076, allocations: 12 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003894/0.808, allocations: 95.95 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.8085, allocations: 234.7 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.8085, allocations: 0 / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.8085, allocations: 4.656 kB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.8086, allocations: 4 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.8095, allocations: 0.8858 MB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.8122, allocations: 471.4 kB / 1.109 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.8125, allocations: 150.5 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.8126, allocations: 15.92 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.8131, allocations: 261.1 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.865e-06/0.8131, allocations: 3.75 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001176/0.8143, allocations: 287.7 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.8145, allocations: 354.1 kB / 1.11 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.8148, allocations: 156.4 kB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.8148, allocations: 33.7 kB / 1.111 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.8149, allocations: 100.9 kB / 1.111 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.8151, allocations: 110.5 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.8151, allocations: 0 / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8153, allocations: 338.8 kB / 1.111 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.8156, allocations: 88.98 kB / 1.111 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.816, allocations: 158.8 kB / 1.111 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.8167, allocations: 139.8 kB / 1.111 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.8168, allocations: 8 kB / 1.111 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001349/0.8181, allocations: 357 kB / 1.112 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8182, allocations: 9.562 kB / 1.112 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8182, allocations: 0 / 1.112 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.8182, allocations: 4 kB / 1.112 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.8188, allocations: 71.83 kB / 1.112 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.8189, allocations: 7.984 kB / 1.112 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.8195, allocations: 47.67 kB / 1.112 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.8196, allocations: 23.98 kB / 1.112 GB, free: 3.535 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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.000174/0.8197, allocations: 136 kB / 1.112 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.8198, allocations: 23.8 kB / 1.112 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.821, allocations: 336.1 kB / 1.112 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8211, allocations: 12 kB / 1.112 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8211, allocations: 4 kB / 1.112 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.8211, allocations: 7.984 kB / 1.112 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.8217, allocations: 293.7 kB / 1.113 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8217, allocations: 4 kB / 1.113 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.8223, allocations: 71.91 kB / 1.113 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.8223, allocations: 7.938 kB / 1.113 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.8224, allocations: 17.86 kB / 1.113 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.8224, allocations: 7.938 kB / 1.113 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.8224, allocations: 4 kB / 1.113 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001316/0.8237, allocations: 0.5729 MB / 1.113 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.824, allocations: 144.6 kB / 1.114 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.8241, allocations: 11.98 kB / 1.114 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.8246, allocations: 33.09 kB / 1.114 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.8247, allocations: 43.94 kB / 1.114 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.8248, allocations: 20 kB / 1.114 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001433/0.825, allocations: 123.2 kB / 1.114 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009038/0.8259, allocations: 207.7 kB / 1.114 GB, free: 1.309 MB / 0.7136 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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.0008296/0.8267, allocations: 308.7 kB / 1.114 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.8294, allocations: 2.978 MB / 1.117 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8294, allocations: 0 / 1.117 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.8299, allocations: 165.6 kB / 1.117 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.8302, allocations: 17.92 kB / 1.117 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.8316, allocations: 411.5 kB / 1.118 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/0.8322, allocations: 0.812 MB / 1.119 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/0.8322, allocations: 0 / 1.119 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.01504/0.8473, allocations: 5.128 MB / 1.124 GB, free: 7.426 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)