Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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 8.1.4-maint.8.1.x/package.mo): time 1.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 179.6 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 89.14 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.323e-06/7.344e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.476, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.331/3.807, allocations: 2.072 GB / 3.045 GB, free: 354.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/3.807, allocations: 90.19 kB / 3.045 GB, free: 354.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1285/3.936, allocations: 63.24 MB / 3.107 GB, free: 324.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.948e-05/3.936, allocations: 20 kB / 3.107 GB, free: 324.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001598/3.937, allocations: 1.075 MB / 3.108 GB, free: 323.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/3.937, allocations: 8.031 kB / 3.108 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009809/3.938, allocations: 226.5 kB / 3.108 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007605/3.939, allocations: 0.6152 MB / 3.109 GB, free: 322.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/3.939, allocations: 24 kB / 3.109 GB, free: 322.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/3.939, allocations: 44 kB / 3.109 GB, free: 322.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/3.94, allocations: 0.9835 MB / 3.11 GB, free: 321.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/3.941, allocations: 0.7233 MB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/3.941, allocations: 7.875 kB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/3.941, allocations: 0 / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/3.941, allocations: 20 kB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/3.944, allocations: 2.289 MB / 3.113 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/3.946, allocations: 0.7273 MB / 3.113 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/3.946, allocations: 250.8 kB / 3.114 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/3.946, allocations: 32.59 kB / 3.114 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/3.947, allocations: 395.8 kB / 3.114 GB, free: 317 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.774e-06/3.947, allocations: 0 / 3.114 GB, free: 317 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00132/3.948, allocations: 0.6521 MB / 3.115 GB, free: 316.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/3.948, allocations: 244 kB / 3.115 GB, free: 316.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/3.948, allocations: 0.4983 MB / 3.115 GB, free: 315.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/3.948, allocations: 25.7 kB / 3.115 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/3.949, allocations: 284.3 kB / 3.116 GB, free: 315.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/3.949, allocations: 236.4 kB / 3.116 GB, free: 315 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/3.949, allocations: 0 / 3.116 GB, free: 315 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/3.949, allocations: 374.8 kB / 3.116 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/3.949, allocations: 197.3 kB / 3.116 GB, free: 314.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/3.949, allocations: 302.4 kB / 3.117 GB, free: 314.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/3.95, allocations: 251 kB / 3.117 GB, free: 313.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/3.95, allocations: 0 / 3.117 GB, free: 313.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001229/3.951, allocations: 0.66 MB / 3.118 GB, free: 313.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/3.951, allocations: 9.234 kB / 3.118 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/3.951, allocations: 0 / 3.118 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/3.952, allocations: 84.78 kB / 3.118 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/3.952, allocations: 147.8 kB / 3.118 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.954, allocations: 1.462 MB / 3.119 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/3.954, allocations: 71.59 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/3.954, allocations: 27.92 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001229/3.954, allocations: 116.8 kB / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/3.954, allocations: 75.14 kB / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/3.956, allocations: 0.944 MB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/3.956, allocations: 12 kB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/3.956, allocations: 0 / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/3.956, allocations: 7.969 kB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/3.957, allocations: 0.7516 MB / 3.121 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/3.957, allocations: 3.906 kB / 3.121 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/3.957, allocations: 151.8 kB / 3.121 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/3.958, allocations: 88.77 kB / 3.121 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/3.958, allocations: 15.98 kB / 3.121 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/3.959, allocations: 1.48 MB / 3.123 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/3.959, allocations: 1.219 kB / 3.123 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001198/3.961, allocations: 0.7646 MB / 3.124 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/3.961, allocations: 283.8 kB / 3.124 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/3.961, allocations: 0 / 3.124 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/3.961, allocations: 59.94 kB / 3.124 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/3.962, allocations: 52.7 kB / 3.124 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/3.962, allocations: 27.98 kB / 3.124 GB, free: 306.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003247/3.962, allocations: 414.8 kB / 3.124 GB, free: 305.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007624/3.963, allocations: 303.1 kB / 3.125 GB, free: 305.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/3.964, allocations: 1.022 MB / 3.126 GB, free: 304.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008956/3.965, allocations: 0.6584 MB / 3.126 GB, free: 303.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/3.965, allocations: 8.062 kB / 3.126 GB, free: 303.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/3.965, allocations: 448.6 kB / 3.127 GB, free: 303.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/3.966, allocations: 211.2 kB / 3.127 GB, free: 303.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/3.969, allocations: 1.328 MB / 3.128 GB, free: 301.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/3.97, allocations: 1.123 MB / 3.129 GB, free: 300.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/3.97, allocations: 0 / 3.129 GB, free: 300.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02018/3.99, allocations: 16.79 MB / 3.146 GB, free: 284 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)