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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.343/4.343, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5536/4.897, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/5.13, allocations: 98.72 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/5.372, allocations: 125.5 MB / 0.7509 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/5.372, allocations: 75.59 kB / 0.7509 GB, free: 12.02 MB / 0.6355 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.06711/5.439, allocations: 10.54 MB / 0.7612 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/5.439, allocations: 8 kB / 0.7612 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/5.44, allocations: 23.72 kB / 0.7612 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/5.44, allocations: 186.8 kB / 0.7614 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/5.44, allocations: 11.92 kB / 0.7614 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/5.44, allocations: 20 kB / 0.7615 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004077/5.44, allocations: 91.97 kB / 0.7615 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/5.441, allocations: 235.5 kB / 0.7618 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/5.441, allocations: 4 kB / 0.7618 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/5.441, allocations: 7.922 kB / 0.7618 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/5.441, allocations: 11.84 kB / 0.7618 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/5.442, allocations: 0.8853 MB / 0.7627 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/5.445, allocations: 475.7 kB / 0.7631 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/5.445, allocations: 134.4 kB / 0.7632 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/5.445, allocations: 19.92 kB / 0.7633 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007646/5.446, allocations: 263.8 kB / 0.7635 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 5.16e-06/5.446, allocations: 0 / 0.7635 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001907/5.448, allocations: 285.2 kB / 0.7638 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/5.449, allocations: 354.2 kB / 0.7641 GB, free: 14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/5.449, allocations: 153.9 kB / 0.7643 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/5.449, allocations: 33.69 kB / 0.7643 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/5.449, allocations: 101 kB / 0.7644 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/5.449, allocations: 110.4 kB / 0.7645 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/5.449, allocations: 4 kB / 0.7645 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002083/5.45, allocations: 330.8 kB / 0.7648 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/5.45, allocations: 88.98 kB / 0.7649 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/5.451, allocations: 158.8 kB / 0.7651 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/5.452, allocations: 143.9 kB / 0.7652 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/5.452, allocations: 4 kB / 0.7652 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002289/5.455, allocations: 368.9 kB / 0.7655 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/5.455, allocations: 4 kB / 0.7655 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/5.455, allocations: 4 kB / 0.7656 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.875e-05/5.455, allocations: 4 kB / 0.7656 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/5.456, allocations: 59.89 kB / 0.7656 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-05/5.456, allocations: 11.84 kB / 0.7656 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/5.457, allocations: 51.72 kB / 0.7657 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/5.457, allocations: 23.98 kB / 0.7657 GB, free: 12.32 MB / 0.6511 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.0002764/5.458, allocations: 124 kB / 0.7658 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/5.458, allocations: 23.72 kB / 0.7658 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/5.459, allocations: 326.4 kB / 0.7661 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/5.459, allocations: 16.28 kB / 0.7662 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/5.459, allocations: 7.938 kB / 0.7662 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/5.459, allocations: 7.984 kB / 0.7662 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/5.46, allocations: 297.8 kB / 0.7665 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/5.46, allocations: 7.938 kB / 0.7665 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/5.461, allocations: 67.84 kB / 0.7665 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.5e-05/5.461, allocations: 8 kB / 0.7665 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.292e-05/5.461, allocations: 12.36 kB / 0.7666 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/5.461, allocations: 8 kB / 0.7666 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/5.461, allocations: 7.938 kB / 0.7666 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002139/5.463, allocations: 0.5761 MB / 0.7671 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00217/5.465, allocations: 0.9473 MB / 0.7681 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/5.466, allocations: 148.6 kB / 0.7682 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/5.466, allocations: 8 kB / 0.7682 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/5.467, allocations: 31.97 kB / 0.7682 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/5.467, allocations: 55.78 kB / 0.7683 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/5.467, allocations: 23.98 kB / 0.7683 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002431/5.468, allocations: 119.3 kB / 0.7684 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002678/5.47, allocations: 207.7 kB / 0.7686 GB, free: 9.008 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.001536/5.472, allocations: 312.7 kB / 0.7689 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003848/5.476, allocations: 2.973 MB / 0.7718 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/5.476, allocations: 4 kB / 0.7718 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007725/5.477, allocations: 167.7 kB / 0.772 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/5.477, allocations: 13.19 kB / 0.772 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/5.479, allocations: 410.6 kB / 0.7724 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/5.48, allocations: 0.8231 MB / 0.7732 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/5.48, allocations: 0 / 0.7732 GB, free: 4.137 MB / 0.6511 GB