Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.0.1-maint.8.0.x/package.mo): time 1.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0008852/0.0008852, allocations: 177.3 kB / 361.1 MB, free: 7.098 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007619/0.0007619, allocations: 98.2 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.1735, allocations: 121.5 MB / 0.8512 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.5885, allocations: 115.3 MB / 0.9638 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.7193, allocations: 139.3 MB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.7195, allocations: 72.56 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01411/0.7336, allocations: 5.464 MB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.7336, allocations: 12.44 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.7337, allocations: 36.75 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.7341, allocations: 271.2 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.7341, allocations: 8 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.7342, allocations: 15.94 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.7343, allocations: 55.98 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.7345, allocations: 161.2 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.7345, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.7346, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.7346, allocations: 7.906 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.7353, allocations: 0.5399 MB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.7355, allocations: 127.2 kB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.7356, allocations: 52.84 kB / 1.106 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.7356, allocations: 7.984 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.7359, allocations: 177.2 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.7359, allocations: 4 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003302/0.7363, allocations: 185.7 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.7363, allocations: 59.41 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.7366, allocations: 271.4 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.7366, allocations: 37.7 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.7367, allocations: 93.06 kB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.7367, allocations: 43.45 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.7368, allocations: 4 kB / 1.107 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.7369, allocations: 326.8 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7371, allocations: 108.2 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.7373, allocations: 150.2 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.7374, allocations: 90.75 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7374, allocations: 3.906 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005079/0.7379, allocations: 301.8 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.738, allocations: 4 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.738, allocations: 4 kB / 1.108 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.738, allocations: 7.906 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.7381, allocations: 27.92 kB / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7382, allocations: 4.188 kB / 1.108 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.7385, allocations: 48.75 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.7386, allocations: 51.97 kB / 1.108 GB, free: 7.777 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * 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.0001081/0.7387, allocations: 128 kB / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.7388, allocations: 31.62 kB / 1.109 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.7388, allocations: 30.08 kB / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.7388, allocations: 7.984 kB / 1.109 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7389, allocations: 0 / 1.109 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7389, allocations: 0 / 1.109 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.7394, allocations: 0.5143 MB / 1.109 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7394, allocations: 4.875 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.7395, allocations: 15.83 kB / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7395, allocations: 0 / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.7395, allocations: 7.984 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7395, allocations: 4 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7395, allocations: 10.66 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002731/0.7398, allocations: 271 kB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003426/0.7402, allocations: 0.6517 MB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.7403, allocations: 184.6 kB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.7404, allocations: 12 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.7406, allocations: 7.984 kB / 1.11 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.7407, allocations: 19.97 kB / 1.11 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.7407, allocations: 27.98 kB / 1.11 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001642/0.7409, allocations: 219.1 kB / 1.11 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000834/0.7417, allocations: 51.89 kB / 1.11 GB, free: 5.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001506/0.7419, allocations: 141 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.7423, allocations: 279.5 kB / 1.111 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7423, allocations: 4 kB / 1.111 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.7424, allocations: 71.05 kB / 1.111 GB, free: 5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.7427, allocations: 37.52 kB / 1.111 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.7433, allocations: 297.3 kB / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.7437, allocations: 0.8177 MB / 1.112 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.7437, allocations: 0 / 1.112 GB, free: 3.816 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)