Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_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 9.1.1-maint.9.1.x/package.mo): time 1.901/1.901, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 185.2 kB / 487 MB, free: 5.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 93.62 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.468/0.469, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.6964, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5855/1.282, allocations: 151.2 MB / 1.353 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.282, allocations: 73.08 kB / 1.353 GB, free: 15.62 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0157/1.298, allocations: 4.89 MB / 1.358 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.298, allocations: 10.53 kB / 1.358 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/1.298, allocations: 31.27 kB / 1.358 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/1.298, allocations: 255.7 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/1.298, allocations: 4.531 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/1.299, allocations: 20.23 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/1.299, allocations: 42.84 kB / 1.358 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/1.299, allocations: 149 kB / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/1.299, allocations: 0 / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/1.299, allocations: 2.094 kB / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.299, allocations: 5.656 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/1.299, allocations: 301.6 kB / 1.359 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/1.3, allocations: 100.2 kB / 1.359 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.3, allocations: 56.75 kB / 1.359 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/1.3, allocations: 2.812 kB / 1.359 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/1.3, allocations: 154 kB / 1.359 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.534e-06/1.3, allocations: 3.984 kB / 1.359 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.000438/1.301, allocations: 179.3 kB / 1.359 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/1.301, allocations: 65.84 kB / 1.359 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/1.301, allocations: 253.3 kB / 1.359 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/1.301, allocations: 32.33 kB / 1.359 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/1.301, allocations: 89.8 kB / 1.359 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/1.301, allocations: 40.53 kB / 1.36 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/1.301, allocations: 3.219 kB / 1.36 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/1.301, allocations: 320.7 kB / 1.36 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/1.301, allocations: 76.89 kB / 1.36 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/1.302, allocations: 128.9 kB / 1.36 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/1.302, allocations: 73.09 kB / 1.36 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.302, allocations: 1.031 kB / 1.36 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000575/1.302, allocations: 263.5 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.302, allocations: 4.125 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.302, allocations: 2.75 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.302, allocations: 3.5 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/1.303, allocations: 26.55 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.303, allocations: 3.547 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/1.303, allocations: 47.56 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.303, allocations: 42.81 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001239/1.303, allocations: 125.8 kB / 1.361 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/1.303, allocations: 24.19 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/1.303, allocations: 28.02 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.303, allocations: 6.344 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.303, allocations: 4.469 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.303, allocations: 1.453 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/1.304, allocations: 0.4954 MB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.304, allocations: 0 / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/1.304, allocations: 5.594 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.304, allocations: 1.125 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/1.304, allocations: 14.95 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.304, allocations: 5.578 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.304, allocations: 4 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003178/1.305, allocations: 283.8 kB / 1.361 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003317/1.305, allocations: 0.6441 MB / 1.362 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/1.305, allocations: 156.8 kB / 1.362 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/1.305, allocations: 17.12 kB / 1.362 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/1.306, allocations: 36.2 kB / 1.362 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/1.306, allocations: 10.34 kB / 1.362 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/1.306, allocations: 42.94 kB / 1.362 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001629/1.306, allocations: 200 kB / 1.362 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009991/1.307, allocations: 53.55 kB / 1.363 GB, free: 11.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001488/1.307, allocations: 119.2 kB / 1.363 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000428/1.308, allocations: 243.5 kB / 1.363 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.308, allocations: 0 / 1.363 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/1.308, allocations: 66.03 kB / 1.363 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/1.308, allocations: 27.91 kB / 1.363 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/1.309, allocations: 263.2 kB / 1.363 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/1.309, allocations: 0.765 MB / 1.364 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of SimCode: time 2.71e-07/1.309, allocations: 4 kB / 1.364 GB, free: 10.44 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat