Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.899/1.899, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.001043/0.001043, allocations: 189.2 kB / 487 MB, free: 5.328 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.232/1.232, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.001013/0.001013, allocations: 91.52 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4758/0.4768, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.6977, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5936/1.291, allocations: 151.1 MB / 1.353 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/1.292, allocations: 72.3 kB / 1.353 GB, free: 15.82 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.01528/1.307, allocations: 4.876 MB / 1.358 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.307, allocations: 10.47 kB / 1.358 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/1.307, allocations: 29.75 kB / 1.358 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/1.307, allocations: 259.8 kB / 1.358 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/1.307, allocations: 7.531 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/1.308, allocations: 18.8 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001346/1.308, allocations: 45.27 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/1.308, allocations: 148.2 kB / 1.358 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/1.308, allocations: 3.938 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.308, allocations: 2.078 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/1.308, allocations: 6.078 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/1.308, allocations: 301.3 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/1.309, allocations: 104.7 kB / 1.359 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/1.309, allocations: 54.69 kB / 1.359 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/1.309, allocations: 1.781 kB / 1.359 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/1.309, allocations: 155.5 kB / 1.359 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/1.309, allocations: 0 / 1.359 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004313/1.309, allocations: 178.8 kB / 1.359 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.309, allocations: 65.88 kB / 1.359 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/1.31, allocations: 247.6 kB / 1.359 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/1.31, allocations: 35.28 kB / 1.359 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/1.31, allocations: 90.31 kB / 1.359 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/1.31, allocations: 36.11 kB / 1.359 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/1.31, allocations: 3.984 kB / 1.359 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/1.31, allocations: 324.2 kB / 1.36 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/1.31, allocations: 78 kB / 1.36 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/1.31, allocations: 129 kB / 1.36 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/1.311, allocations: 73.8 kB / 1.36 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.311, allocations: 1.047 kB / 1.36 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005914/1.311, allocations: 263.9 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.311, allocations: 5.109 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.311, allocations: 1.875 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.311, allocations: 2.875 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.312, allocations: 28.64 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.312, allocations: 2.438 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/1.312, allocations: 45.23 kB / 1.36 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/1.312, allocations: 44.77 kB / 1.36 GB, free: 13.59 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.000115/1.312, allocations: 124.9 kB / 1.361 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/1.312, allocations: 24.33 kB / 1.361 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/1.312, allocations: 33.39 kB / 1.361 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.312, allocations: 4 kB / 1.361 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.312, allocations: 3.906 kB / 1.361 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.312, allocations: 1.547 kB / 1.361 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/1.313, allocations: 0.497 MB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.313, allocations: 0.75 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/1.313, allocations: 5.125 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.313, allocations: 0 / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/1.313, allocations: 18.61 kB / 1.361 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.313, allocations: 0.6562 kB / 1.361 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.313, allocations: 0 / 1.361 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002996/1.313, allocations: 291 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000329/1.314, allocations: 0.6403 MB / 1.362 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/1.314, allocations: 162.7 kB / 1.362 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/1.314, allocations: 16.86 kB / 1.362 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/1.314, allocations: 39.59 kB / 1.362 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/1.314, allocations: 6.672 kB / 1.362 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/1.315, allocations: 43.36 kB / 1.362 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001414/1.315, allocations: 197 kB / 1.362 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000898/1.316, allocations: 53.67 kB / 1.362 GB, free: 11.74 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.0001535/1.316, allocations: 120.6 kB / 1.363 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003996/1.316, allocations: 244 kB / 1.363 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.316, allocations: 0 / 1.363 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/1.316, allocations: 66.48 kB / 1.363 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/1.317, allocations: 25.7 kB / 1.363 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/1.317, allocations: 271.3 kB / 1.363 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.317, allocations: 0.7615 MB / 1.364 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/1.317, allocations: 4 kB / 1.364 GB, free: 10.39 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat