Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7346/0.7346, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 181.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 399.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 87.23 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1797, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.65, allocations: 104.5 MB / 0.723 GB, free: 7.957 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6504, allocations: 87.92 kB / 0.7231 GB, free: 7.871 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02309/0.6735, allocations: 7.516 MB / 0.7304 GB, free: 368 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.6735, allocations: 0 / 0.7304 GB, free: 368 kB / 490.7 MB 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.0005787/0.6741, allocations: 394.3 kB / 0.7308 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6741, allocations: 8.031 kB / 0.7308 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.6742, allocations: 75.28 kB / 0.7309 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.6744, allocations: 246.3 kB / 0.7311 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.6745, allocations: 150.6 kB / 0.7312 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.6746, allocations: 162.5 kB / 0.7314 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.728e-05/0.6747, allocations: 150.6 kB / 0.7315 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.433e-05/0.6747, allocations: 101 kB / 0.7316 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.6748, allocations: 75.28 kB / 0.7317 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.6748, allocations: 162.5 kB / 0.7319 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.6749, allocations: 150.6 kB / 0.732 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.6752, allocations: 430.5 kB / 0.7324 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.6753, allocations: 173 kB / 0.7326 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.6753, allocations: 84.14 kB / 0.7327 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.6754, allocations: 83.27 kB / 0.7327 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.6754, allocations: 105.8 kB / 0.7328 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/0.6754, allocations: 0 / 0.7328 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.435e-05/0.6755, allocations: 25.7 kB / 0.7329 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.6756, allocations: 59.41 kB / 0.7329 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.6758, allocations: 104.9 kB / 0.733 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.6758, allocations: 25.7 kB / 0.733 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.6758, allocations: 88.08 kB / 0.7331 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.6758, allocations: 0 / 0.7331 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.6759, allocations: 0 / 0.7331 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.676, allocations: 318.8 kB / 0.7334 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.676, allocations: 0 / 0.7334 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.676, allocations: 30.56 kB / 0.7335 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.6762, allocations: 15.98 kB / 0.7335 GB, free: 13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6762, allocations: 0 / 0.7335 GB, free: 13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002266/0.6765, allocations: 65.59 kB / 0.7335 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6765, allocations: 4 kB / 0.7335 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6765, allocations: 0 / 0.7335 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6765, allocations: 4 kB / 0.7335 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.6766, allocations: 4 kB / 0.7335 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6766, allocations: 4.719 kB / 0.7335 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.6767, allocations: 11.84 kB / 0.7336 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6767, allocations: 7.984 kB / 0.7336 GB, free: 12.89 MB / 0.4948 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 0.000117/0.6769, allocations: 176.3 kB / 0.7337 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.6769, allocations: 104.9 kB / 0.7338 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.677, allocations: 108.1 kB / 0.7339 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.859e-05/0.6771, allocations: 180.2 kB / 0.7341 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-05/0.6772, allocations: 192.2 kB / 0.7343 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-05/0.6772, allocations: 176.3 kB / 0.7345 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.6775, allocations: 377.8 kB / 0.7348 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.512e-05/0.6775, allocations: 112.8 kB / 0.7349 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.6776, allocations: 101 kB / 0.735 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-05/0.6777, allocations: 184.3 kB / 0.7352 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.6778, allocations: 188.2 kB / 0.7354 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-05/0.6778, allocations: 176.3 kB / 0.7355 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-05/0.6779, allocations: 177.2 kB / 0.7357 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001646/0.6781, allocations: 311.7 kB / 0.736 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.6782, allocations: 182.1 kB / 0.7362 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.6783, allocations: 188.2 kB / 0.7364 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.6784, allocations: 105.2 kB / 0.7365 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.6785, allocations: 176.3 kB / 0.7366 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.6785, allocations: 109 kB / 0.7367 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.13e-05/0.6786, allocations: 83.53 kB / 0.7368 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006021/0.6792, allocations: 123.9 kB / 0.7369 GB, free: 9.23 MB / 0.4948 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.001118/0.6803, allocations: 472.5 kB / 0.7374 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.979e-05/0.6804, allocations: 15.94 kB / 0.7374 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6804, allocations: 0 / 0.7374 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.6804, allocations: 0 / 0.7374 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.6808, allocations: 0.5224 MB / 0.7379 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.681, allocations: 123.5 kB / 0.738 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.6813, allocations: 0.688 MB / 0.7387 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/0.6813, allocations: 3.938 kB / 0.7387 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of Templates: time 0.006158/0.6875, allocations: 2.38 MB / 0.741 GB, free: 5.02 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)