Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001009/0.001009, allocations: 181.3 kB / 361.1 MB, free: 7.09 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.053/1.053, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007616/0.0007616, allocations: 94.97 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.713e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4274, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.84/3.267, allocations: 2.071 GB / 3.035 GB, free: 47.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/3.268, allocations: 94.91 kB / 3.035 GB, free: 47.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4462/3.714, allocations: 63.25 MB / 3.097 GB, free: 315.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.649e-05/3.714, allocations: 24.31 kB / 3.097 GB, free: 315.5 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.001504/3.715, allocations: 1.076 MB / 3.098 GB, free: 314.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/3.715, allocations: 7.125 kB / 3.098 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/3.716, allocations: 218.9 kB / 3.098 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007893/3.717, allocations: 0.6139 MB / 3.099 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/3.717, allocations: 30.91 kB / 3.099 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/3.717, allocations: 42.62 kB / 3.099 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/3.719, allocations: 0.9878 MB / 3.1 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/3.72, allocations: 0.7154 MB / 3.1 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/3.72, allocations: 0 / 3.1 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/3.72, allocations: 0 / 3.1 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/3.72, allocations: 19.78 kB / 3.101 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/3.723, allocations: 2.285 MB / 3.103 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/3.724, allocations: 0.7284 MB / 3.103 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/3.725, allocations: 244.7 kB / 3.104 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/3.725, allocations: 36.5 kB / 3.104 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/3.725, allocations: 400.2 kB / 3.104 GB, free: 313.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/3.725, allocations: 0 / 3.104 GB, free: 313.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001406/3.727, allocations: 0.6516 MB / 3.105 GB, free: 313.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/3.727, allocations: 239.7 kB / 3.105 GB, free: 313.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/3.727, allocations: 0.4993 MB / 3.105 GB, free: 313.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/3.727, allocations: 25.7 kB / 3.105 GB, free: 313.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/3.727, allocations: 290 kB / 3.106 GB, free: 313 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/3.727, allocations: 227.4 kB / 3.106 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/3.727, allocations: 0 / 3.106 GB, free: 312.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/3.728, allocations: 384.8 kB / 3.106 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/3.728, allocations: 194.2 kB / 3.107 GB, free: 312.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/3.728, allocations: 305.8 kB / 3.107 GB, free: 312.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/3.728, allocations: 242.4 kB / 3.107 GB, free: 312.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/3.728, allocations: 0 / 3.107 GB, free: 312.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001318/3.73, allocations: 0.6689 MB / 3.108 GB, free: 312.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/3.73, allocations: 3.938 kB / 3.108 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/3.73, allocations: 2.156 kB / 3.108 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/3.73, allocations: 82.25 kB / 3.108 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/3.731, allocations: 140.8 kB / 3.108 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/3.733, allocations: 1.467 MB / 3.109 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/3.733, allocations: 67.05 kB / 3.109 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/3.733, allocations: 28.59 kB / 3.109 GB, free: 311.1 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.0001274/3.733, allocations: 123.8 kB / 3.11 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/3.733, allocations: 71.03 kB / 3.11 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/3.735, allocations: 0.9487 MB / 3.111 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/3.735, allocations: 11.56 kB / 3.111 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/3.735, allocations: 0 / 3.111 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/3.735, allocations: 7.312 kB / 3.111 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/3.736, allocations: 0.7648 MB / 3.111 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/3.736, allocations: 0.5625 kB / 3.111 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/3.737, allocations: 147.3 kB / 3.111 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/3.737, allocations: 88.02 kB / 3.112 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/3.737, allocations: 17.2 kB / 3.112 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/3.739, allocations: 1.487 MB / 3.113 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.739, allocations: 4.109 kB / 3.113 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/3.74, allocations: 0.7592 MB / 3.114 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/3.74, allocations: 281.9 kB / 3.114 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/3.74, allocations: 2.219 kB / 3.114 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/3.741, allocations: 63.27 kB / 3.114 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/3.741, allocations: 54.03 kB / 3.114 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/3.741, allocations: 33.62 kB / 3.114 GB, free: 309.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003742/3.741, allocations: 405.5 kB / 3.115 GB, free: 309.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008195/3.742, allocations: 302.3 kB / 3.115 GB, free: 309 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.001278/3.744, allocations: 1.008 MB / 3.116 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009613/3.745, allocations: 0.6636 MB / 3.116 GB, free: 308.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/3.745, allocations: 5.281 kB / 3.116 GB, free: 308.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005815/3.745, allocations: 454.7 kB / 3.117 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/3.746, allocations: 208.4 kB / 3.117 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/3.749, allocations: 1.332 MB / 3.118 GB, free: 308.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/3.75, allocations: 1.125 MB / 3.12 GB, free: 307.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/3.75, allocations: 0 / 3.12 GB, free: 307.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02362/3.773, allocations: 16.79 MB / 3.136 GB, free: 306.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)