Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.768/1.768, 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.0009641/0.0009641, allocations: 188.2 kB / 487 MB, free: 5.367 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.141/1.141, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0008558/0.0008558, allocations: 102.9 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.901e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5004/0.6926, allocations: 150.9 MB / 1.353 GB, free: 16.09 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.6928, allocations: 88.23 kB / 1.353 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01928/0.7121, allocations: 7.03 MB / 1.36 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.7121, allocations: 0.7812 kB / 1.36 GB, free: 15.73 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003919/0.7125, allocations: 391.2 kB / 1.36 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7126, allocations: 8.406 kB / 1.36 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.7126, allocations: 81.67 kB / 1.36 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.7127, allocations: 240.8 kB / 1.36 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.7128, allocations: 156 kB / 1.36 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.7128, allocations: 156.7 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.518e-05/0.7128, allocations: 151.3 kB / 1.361 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.685e-05/0.7129, allocations: 105.2 kB / 1.361 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7129, allocations: 80.06 kB / 1.361 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.7129, allocations: 154.5 kB / 1.361 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.7129, allocations: 155.8 kB / 1.361 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.7131, allocations: 438 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.7131, allocations: 166.8 kB / 1.362 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.7131, allocations: 85.06 kB / 1.362 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.7132, allocations: 79.89 kB / 1.362 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.7132, allocations: 106.7 kB / 1.362 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7132, allocations: 0.875 kB / 1.362 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.153e-05/0.7133, allocations: 32.12 kB / 1.362 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.7133, allocations: 56.45 kB / 1.362 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.7134, allocations: 95.89 kB / 1.362 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.7134, allocations: 26.48 kB / 1.362 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.7134, allocations: 89.77 kB / 1.362 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.7134, allocations: 0 / 1.362 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.7134, allocations: 0.8125 kB / 1.362 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.7135, allocations: 312.2 kB / 1.363 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.7135, allocations: 1.984 kB / 1.363 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.7135, allocations: 25.69 kB / 1.363 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.7136, allocations: 21.97 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7137, allocations: 0.5312 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001867/0.7138, allocations: 61.67 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7139, allocations: 4.875 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.7139, allocations: 0.6562 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7139, allocations: 5.766 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.714, allocations: 6.219 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.714, allocations: 5.281 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.7141, allocations: 4.172 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.7141, allocations: 6.281 kB / 1.363 GB, free: 12.46 MB / 0.8073 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 5.376e-05/0.7141, allocations: 183 kB / 1.363 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.7142, allocations: 106.8 kB / 1.363 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.7142, allocations: 110.1 kB / 1.363 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.7142, allocations: 186 kB / 1.363 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.7143, allocations: 177.5 kB / 1.363 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.7143, allocations: 181.7 kB / 1.364 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.7144, allocations: 383.4 kB / 1.364 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.7144, allocations: 110.1 kB / 1.364 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.7144, allocations: 103.3 kB / 1.364 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/0.7145, allocations: 185.3 kB / 1.364 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.7145, allocations: 187.4 kB / 1.365 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-05/0.7145, allocations: 177.5 kB / 1.365 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-05/0.7145, allocations: 182.6 kB / 1.365 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.919e-05/0.7146, allocations: 301 kB / 1.365 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.7146, allocations: 192 kB / 1.365 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.7147, allocations: 183.1 kB / 1.366 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.7147, allocations: 102.4 kB / 1.366 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.7148, allocations: 182 kB / 1.366 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.7148, allocations: 102.5 kB / 1.366 GB, free: 25.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.173e-05/0.7149, allocations: 83.09 kB / 1.366 GB, free: 24.98 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004411/0.7153, allocations: 105.3 kB / 1.366 GB, free: 24.89 MB / 0.823 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.0006929/0.716, allocations: 487.3 kB / 1.367 GB, free: 24.51 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.767e-05/0.7161, allocations: 8.75 kB / 1.367 GB, free: 24.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.7161, allocations: 0 / 1.367 GB, free: 24.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.7161, allocations: 0 / 1.367 GB, free: 24.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.7163, allocations: 0.523 MB / 1.367 GB, free: 23.97 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001356/0.7165, allocations: 124.5 kB / 1.367 GB, free: 23.83 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.7167, allocations: 0.6878 MB / 1.368 GB, free: 23.12 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.7167, allocations: 3.938 kB / 1.368 GB, free: 23.12 MB / 0.823 GB Notification: Performance of Templates: time 0.004256/0.7209, allocations: 2.227 MB / 1.37 GB, free: 21.7 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches