Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [: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 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 188.7 kB / 316 MB, free: 7.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 0.5667 GB, free: 23.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008275/0.0008278, allocations: 79.41 kB / 0.671 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.026e-05, allocations: 4 kB / 0.7807 GB, free: 476 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4982, allocations: 106.3 MB / 0.8846 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.6638, allocations: 133.5 MB / 1.015 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.6641, allocations: 83.95 kB / 1.015 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.022/0.6862, allocations: 7.192 MB / 1.022 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6862, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004989/0.6867, allocations: 402.2 kB / 1.022 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6868, allocations: 8.031 kB / 1.022 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.6869, allocations: 79.27 kB / 1.022 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.6871, allocations: 246.3 kB / 1.023 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.6871, allocations: 154.6 kB / 1.023 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.6872, allocations: 154.5 kB / 1.023 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.546e-05/0.6873, allocations: 158.6 kB / 1.023 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.976e-05/0.6873, allocations: 101 kB / 1.023 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.6873, allocations: 75.28 kB / 1.023 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.6874, allocations: 154.5 kB / 1.023 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.6875, allocations: 150.6 kB / 1.024 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.6877, allocations: 438.5 kB / 1.024 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.6878, allocations: 165.1 kB / 1.024 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.6879, allocations: 84.12 kB / 1.024 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.6879, allocations: 75.28 kB / 1.024 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.688, allocations: 117.8 kB / 1.024 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.688, allocations: 4 kB / 1.024 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.275e-05/0.6881, allocations: 29.64 kB / 1.024 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.6881, allocations: 51.41 kB / 1.025 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.6882, allocations: 100.9 kB / 1.025 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.6882, allocations: 25.7 kB / 1.025 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.6883, allocations: 84.12 kB / 1.025 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.6883, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.6883, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6884, allocations: 318.8 kB / 1.025 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.6884, allocations: 0 / 1.025 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.6884, allocations: 22.58 kB / 1.025 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.6886, allocations: 23.88 kB / 1.025 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6886, allocations: 0 / 1.025 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002057/0.6888, allocations: 61.7 kB / 1.025 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6889, allocations: 8 kB / 1.025 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6889, allocations: 0 / 1.025 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6889, allocations: 7.984 kB / 1.025 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.689, allocations: 7.938 kB / 1.025 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.689, allocations: 3.938 kB / 1.025 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.6891, allocations: 7.906 kB / 1.025 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6891, allocations: 3.938 kB / 1.025 GB, free: 11.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.037e-05/0.6892, allocations: 182.4 kB / 1.025 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.6893, allocations: 109 kB / 1.025 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.6893, allocations: 104.1 kB / 1.026 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-05/0.6894, allocations: 188.2 kB / 1.026 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.6894, allocations: 176.3 kB / 1.026 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/0.6895, allocations: 180.2 kB / 1.026 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.6897, allocations: 389.7 kB / 1.026 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/0.6898, allocations: 101 kB / 1.027 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.6898, allocations: 102.6 kB / 1.027 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.401e-05/0.6899, allocations: 188.2 kB / 1.027 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.6899, allocations: 180.3 kB / 1.027 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-05/0.69, allocations: 180.3 kB / 1.027 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.714e-05/0.6901, allocations: 184.2 kB / 1.027 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001204/0.6902, allocations: 303.7 kB / 1.028 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.6903, allocations: 186 kB / 1.028 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.6903, allocations: 180.3 kB / 1.028 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.6904, allocations: 101 kB / 1.028 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.6905, allocations: 192.6 kB / 1.028 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.6905, allocations: 105 kB / 1.028 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.793e-05/0.6905, allocations: 87.28 kB / 1.028 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004975/0.691, allocations: 111.9 kB / 1.029 GB, free: 8.273 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008308/0.6919, allocations: 490.2 kB / 1.029 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.204e-05/0.692, allocations: 8 kB / 1.029 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.692, allocations: 0 / 1.029 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.692, allocations: 0 / 1.029 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6923, allocations: 0.5265 MB / 1.03 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.6925, allocations: 127.2 kB / 1.03 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.6927, allocations: 0.6879 MB / 1.03 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.6927, allocations: 0 / 1.03 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of Templates: time 0.005367/0.6981, allocations: 2.353 MB / 1.033 GB, free: 4.105 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches