Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.81/1.81, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.0009824/0.0009825, allocations: 181.3 kB / 490.8 MB, free: 1.914 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.114/1.114, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 91.3 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.3882/0.3892, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.5609, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/1.028, allocations: 151.9 MB / 1.36 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/1.028, allocations: 77.45 kB / 1.36 GB, free: 17.18 MB / 0.823 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.01338/1.041, allocations: 4.877 MB / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/1.041, allocations: 13.25 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/1.041, allocations: 33.28 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/1.042, allocations: 254.3 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.042, allocations: 9.641 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/1.042, allocations: 19.69 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/1.042, allocations: 42.47 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/1.042, allocations: 153.4 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/1.042, allocations: 0 / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/1.042, allocations: 2.266 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.042, allocations: 3.672 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/1.042, allocations: 308.1 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/1.043, allocations: 94.62 kB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/1.043, allocations: 53.09 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/1.043, allocations: 1.438 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/1.043, allocations: 160.1 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/1.043, allocations: 4 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003356/1.043, allocations: 182.6 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.043, allocations: 58.53 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/1.043, allocations: 249.4 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/1.043, allocations: 32.53 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/1.044, allocations: 90.02 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/1.044, allocations: 40.94 kB / 1.367 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/1.044, allocations: 4.656 kB / 1.367 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/1.044, allocations: 323.4 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/1.044, allocations: 78.88 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/1.044, allocations: 124 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/1.044, allocations: 80.12 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.044, allocations: 0 / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004478/1.045, allocations: 256.2 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/1.045, allocations: 9.688 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.045, allocations: 1.375 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.045, allocations: 4.344 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/1.045, allocations: 23.7 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.045, allocations: 2.719 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/1.045, allocations: 51.72 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.045, allocations: 39.12 kB / 1.368 GB, free: 30.99 MB / 0.8386 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.0001024/1.045, allocations: 130.5 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/1.045, allocations: 24.22 kB / 1.368 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/1.045, allocations: 26.81 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.045, allocations: 2.094 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.045, allocations: 2.672 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.045, allocations: 0 / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/1.046, allocations: 0.5008 MB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.046, allocations: 0 / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/1.046, allocations: 7.812 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.046, allocations: 2.812 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/1.046, allocations: 15.02 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.046, allocations: 1.188 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.046, allocations: 0 / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002887/1.046, allocations: 285.9 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003579/1.047, allocations: 0.6433 MB / 1.369 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/1.047, allocations: 160.7 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/1.047, allocations: 9.812 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/1.047, allocations: 53.66 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/1.048, allocations: 6.516 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/1.048, allocations: 41.48 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001446/1.048, allocations: 197.8 kB / 1.37 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008516/1.049, allocations: 45.97 kB / 1.37 GB, free: 29.69 MB / 0.8386 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.00012/1.049, allocations: 123 kB / 1.37 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003706/1.049, allocations: 243.1 kB / 1.37 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.049, allocations: 4.062 kB / 1.37 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/1.049, allocations: 72.17 kB / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/1.049, allocations: 16.22 kB / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/1.05, allocations: 271.6 kB / 1.37 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/1.05, allocations: 0.7648 MB / 1.371 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.05, allocations: 0 / 1.371 GB, free: 28.7 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat