Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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 loadModel(Buildings): time 4.365/4.365, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2715/4.636, allocations: 104.4 MB / 0.5319 GB, free: 2.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/5.168, allocations: 98.69 MB / 0.6283 GB, free: 128 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/5.431, allocations: 125.5 MB / 0.7509 GB, free: 2.469 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/5.431, allocations: 75.95 kB / 0.7509 GB, free: 2.395 MB / 0.6199 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57:32: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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.05906/5.49, allocations: 10.54 MB / 0.7612 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/5.49, allocations: 8 kB / 0.7612 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/5.49, allocations: 27.72 kB / 0.7612 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/5.49, allocations: 182.8 kB / 0.7614 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/5.491, allocations: 7.984 kB / 0.7614 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/5.491, allocations: 12 kB / 0.7614 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004083/5.491, allocations: 99.97 kB / 0.7615 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/5.492, allocations: 231.5 kB / 0.7618 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/5.492, allocations: 0 / 0.7618 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/5.492, allocations: 4 kB / 0.7618 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/5.492, allocations: 11.84 kB / 0.7618 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/5.493, allocations: 0.8897 MB / 0.7626 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/5.496, allocations: 475.7 kB / 0.7631 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/5.496, allocations: 138.4 kB / 0.7632 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/5.496, allocations: 7.938 kB / 0.7632 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/5.497, allocations: 263.8 kB / 0.7635 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 7.725e-06/5.497, allocations: 7.984 kB / 0.7635 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001315/5.498, allocations: 285 kB / 0.7638 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002879/5.498, allocations: 354 kB / 0.7641 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/5.499, allocations: 157.3 kB / 0.7643 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/5.499, allocations: 33.81 kB / 0.7643 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/5.499, allocations: 97.05 kB / 0.7644 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/5.499, allocations: 118.4 kB / 0.7645 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/5.499, allocations: 0 / 0.7645 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001916/5.499, allocations: 326.8 kB / 0.7648 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/5.5, allocations: 92.98 kB / 0.7649 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/5.5, allocations: 158.8 kB / 0.765 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/5.501, allocations: 143.8 kB / 0.7652 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/5.501, allocations: 3.938 kB / 0.7652 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001396/5.502, allocations: 364.9 kB / 0.7655 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/5.502, allocations: 4 kB / 0.7655 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/5.502, allocations: 0 / 0.7655 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/5.502, allocations: 4 kB / 0.7655 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/5.503, allocations: 67.89 kB / 0.7656 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/5.503, allocations: 11.84 kB / 0.7656 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/5.504, allocations: 55.66 kB / 0.7657 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/5.504, allocations: 19.98 kB / 0.7657 GB, free: 2.711 MB / 0.6355 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.000212/5.504, allocations: 128.4 kB / 0.7658 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/5.504, allocations: 23.72 kB / 0.7658 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/5.505, allocations: 334.6 kB / 0.7662 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/5.506, allocations: 11.91 kB / 0.7662 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/5.506, allocations: 4 kB / 0.7662 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/5.506, allocations: 7.984 kB / 0.7662 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/5.506, allocations: 297.8 kB / 0.7665 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/5.506, allocations: 0 / 0.7665 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/5.507, allocations: 71.84 kB / 0.7665 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/5.507, allocations: 4 kB / 0.7665 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/5.507, allocations: 19.98 kB / 0.7665 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/5.507, allocations: 4 kB / 0.7666 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/5.507, allocations: 7.938 kB / 0.7666 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001481/5.508, allocations: 0.5668 MB / 0.7671 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001743/5.51, allocations: 0.9553 MB / 0.768 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/5.511, allocations: 144.6 kB / 0.7682 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/5.511, allocations: 8 kB / 0.7682 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/5.511, allocations: 36.34 kB / 0.7682 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/5.512, allocations: 47.78 kB / 0.7683 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/5.512, allocations: 23.98 kB / 0.7683 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001731/5.512, allocations: 123.3 kB / 0.7684 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001893/5.514, allocations: 215.6 kB / 0.7686 GB, free: 15.4 MB / 0.6511 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.001001/5.515, allocations: 316.8 kB / 0.7689 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002846/5.518, allocations: 2.973 MB / 0.7718 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/5.518, allocations: 0 / 0.7718 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/5.518, allocations: 167.7 kB / 0.772 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/5.519, allocations: 12.19 kB / 0.772 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/5.52, allocations: 414.7 kB / 0.7724 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/5.521, allocations: 0.8153 MB / 0.7732 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.193e-06/5.521, allocations: 0 / 0.7732 GB, free: 10.53 MB / 0.6511 GB