Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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.351/1.351, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.0009518/0.0009518, allocations: 185.3 kB / 366.3 MB, free: 1.941 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.112/1.112, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.0008194/0.0008194, allocations: 81.44 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.216e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4896, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.105/3.594, allocations: 2.072 GB / 3.044 GB, free: 220 kB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/3.595, allocations: 96.62 kB / 3.044 GB, free: 124 kB / 0.948 GB Notification: Performance of FrontEnd: time 0.4339/4.028, allocations: 58.01 MB / 3.101 GB, free: 331.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.572e-05/4.029, allocations: 27.94 kB / 3.101 GB, free: 331.7 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001511/4.03, allocations: 1.05 MB / 3.102 GB, free: 330.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/4.03, allocations: 12.03 kB / 3.102 GB, free: 330.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008632/4.031, allocations: 194.6 kB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/4.032, allocations: 0.5959 MB / 3.103 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/4.032, allocations: 27.94 kB / 3.103 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/4.032, allocations: 44 kB / 3.103 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00112/4.033, allocations: 0.9562 MB / 3.104 GB, free: 328.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/4.034, allocations: 0.6983 MB / 3.105 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/4.034, allocations: 0 / 3.105 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/4.034, allocations: 7.906 kB / 3.105 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/4.034, allocations: 16 kB / 3.105 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/4.037, allocations: 2.212 MB / 3.107 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/4.038, allocations: 0.7018 MB / 3.107 GB, free: 324.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/4.038, allocations: 234.8 kB / 3.108 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/4.038, allocations: 28.69 kB / 3.108 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/4.038, allocations: 374 kB / 3.108 GB, free: 324.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 1.993e-06/4.038, allocations: 0 / 3.108 GB, free: 324.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001275/4.04, allocations: 0.617 MB / 3.109 GB, free: 323.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/4.04, allocations: 244 kB / 3.109 GB, free: 323.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/4.04, allocations: 0.4904 MB / 3.109 GB, free: 322.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/4.04, allocations: 33.7 kB / 3.109 GB, free: 322.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/4.04, allocations: 276.3 kB / 3.11 GB, free: 322.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/4.04, allocations: 216.6 kB / 3.11 GB, free: 322.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/4.04, allocations: 0 / 3.11 GB, free: 322.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/4.041, allocations: 382.7 kB / 3.11 GB, free: 322 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/4.041, allocations: 185.3 kB / 3.11 GB, free: 321.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/4.041, allocations: 278.4 kB / 3.111 GB, free: 321.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/4.041, allocations: 235.1 kB / 3.111 GB, free: 321.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/4.041, allocations: 0 / 3.111 GB, free: 321.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001207/4.043, allocations: 0.6249 MB / 3.112 GB, free: 320.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/4.043, allocations: 4 kB / 3.112 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/4.043, allocations: 4 kB / 3.112 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/4.043, allocations: 88.81 kB / 3.112 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/4.044, allocations: 135.7 kB / 3.112 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/4.045, allocations: 1.453 MB / 3.113 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/4.046, allocations: 67.47 kB / 3.113 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/4.046, allocations: 23.98 kB / 3.113 GB, free: 318.7 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 (72): * Single equations (assignments): 71 * 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.0001185/4.046, allocations: 120.9 kB / 3.113 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/4.046, allocations: 71.16 kB / 3.113 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/4.048, allocations: 0.8815 MB / 3.114 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/4.048, allocations: 8 kB / 3.114 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/4.048, allocations: 0 / 3.114 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/4.048, allocations: 7.984 kB / 3.114 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/4.05, allocations: 1.635 MB / 3.116 GB, free: 315.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/4.05, allocations: 4 kB / 3.116 GB, free: 315.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/4.05, allocations: 139.8 kB / 3.116 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/4.051, allocations: 84.78 kB / 3.116 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/4.051, allocations: 11.98 kB / 3.116 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/4.052, allocations: 1.488 MB / 3.118 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/4.052, allocations: 0 / 3.118 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001152/4.053, allocations: 0.7894 MB / 3.118 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/4.054, allocations: 271.9 kB / 3.119 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/4.054, allocations: 0 / 3.119 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/4.054, allocations: 59.95 kB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/4.054, allocations: 44.7 kB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/4.054, allocations: 31.97 kB / 3.119 GB, free: 312.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003277/4.055, allocations: 402.9 kB / 3.119 GB, free: 312.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007941/4.056, allocations: 295.1 kB / 3.119 GB, free: 312.2 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001208/4.057, allocations: 1.01 MB / 3.12 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008756/4.058, allocations: 0.6271 MB / 3.121 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/4.058, allocations: 0 / 3.121 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/4.058, allocations: 436.8 kB / 3.121 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/4.059, allocations: 199.3 kB / 3.122 GB, free: 310 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/4.062, allocations: 1.299 MB / 3.123 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/4.063, allocations: 1.111 MB / 3.124 GB, free: 307.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/4.063, allocations: 0 / 3.124 GB, free: 307.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02/4.083, allocations: 16.07 MB / 3.14 GB, free: 291.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)