Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7017/0.7017, allocations: 141.8 MB / 149.1 MB, free: 12.17 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 184.9 kB / 181.9 MB, free: 8.938 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 436 MB, free: 1.277 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009896, allocations: 90.94 kB / 0.507 GB, free: 10.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 272.5 kB / 0.5884 GB, free: 7.012 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.753e-06, allocations: 0 / 0.6759 GB, free: 13.38 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 82.78 MB / 0.7567 GB, free: 138.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.416/3.824, allocations: 1.69 GB / 2.447 GB, free: 74.56 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/3.824, allocations: 96.25 kB / 2.447 GB, free: 74.47 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1287/3.953, allocations: 59.8 MB / 2.506 GB, free: 14.49 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 8.579e-05/3.953, allocations: 31.88 kB / 2.506 GB, free: 14.46 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00246/3.956, allocations: 1.105 MB / 2.507 GB, free: 13.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/3.956, allocations: 8.031 kB / 2.507 GB, free: 13.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/3.957, allocations: 206.4 kB / 2.507 GB, free: 13.09 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/3.958, allocations: 0.6154 MB / 2.507 GB, free: 12.43 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/3.958, allocations: 24 kB / 2.507 GB, free: 12.41 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/3.958, allocations: 48 kB / 2.508 GB, free: 12.36 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001384/3.96, allocations: 0.9796 MB / 2.508 GB, free: 11.38 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/3.961, allocations: 0.7309 MB / 2.509 GB, free: 10.61 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/3.961, allocations: 0 / 2.509 GB, free: 10.61 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/3.961, allocations: 4 kB / 2.509 GB, free: 10.61 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/3.961, allocations: 16 kB / 2.509 GB, free: 10.59 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/3.964, allocations: 2.274 MB / 2.511 GB, free: 8.258 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/3.965, allocations: 0.7139 MB / 2.512 GB, free: 7.516 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/3.966, allocations: 242.8 kB / 2.512 GB, free: 7.277 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.07e-05/3.966, allocations: 40.67 kB / 2.512 GB, free: 7.238 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/3.966, allocations: 374 kB / 2.513 GB, free: 6.852 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/3.966, allocations: 0 / 2.513 GB, free: 6.852 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001591/3.968, allocations: 0.6365 MB / 2.513 GB, free: 6.207 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/3.968, allocations: 240 kB / 2.514 GB, free: 5.914 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/3.969, allocations: 0.4984 MB / 2.514 GB, free: 5.41 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/3.969, allocations: 25.7 kB / 2.514 GB, free: 5.379 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/3.969, allocations: 300.1 kB / 2.514 GB, free: 5.078 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/3.969, allocations: 232.5 kB / 2.515 GB, free: 4.848 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/3.969, allocations: 0 / 2.515 GB, free: 4.848 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/3.969, allocations: 378.8 kB / 2.515 GB, free: 4.469 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/3.97, allocations: 185.3 kB / 2.515 GB, free: 4.289 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/3.97, allocations: 299.2 kB / 2.515 GB, free: 3.961 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/3.97, allocations: 235.1 kB / 2.516 GB, free: 3.738 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/3.97, allocations: 0 / 2.516 GB, free: 3.738 MB / 0.6982 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001302/3.972, allocations: 0.6483 MB / 2.516 GB, free: 3.078 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/3.972, allocations: 4 kB / 2.516 GB, free: 3.074 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/3.972, allocations: 0 / 2.516 GB, free: 3.074 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/3.972, allocations: 92.8 kB / 2.516 GB, free: 2.98 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/3.973, allocations: 135.8 kB / 2.517 GB, free: 2.848 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/3.975, allocations: 1.463 MB / 2.518 GB, free: 1.262 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/3.975, allocations: 63.61 kB / 2.518 GB, free: 1.199 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/3.975, allocations: 27.98 kB / 2.518 GB, free: 1.172 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0001469/3.975, allocations: 120.8 kB / 2.518 GB, free: 1.047 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/3.975, allocations: 75.06 kB / 2.518 GB, free: 0.9727 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/3.977, allocations: 0.9366 MB / 2.519 GB, free: 36 kB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/3.977, allocations: 8 kB / 2.519 GB, free: 28 kB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/3.977, allocations: 3.938 kB / 2.519 GB, free: 24 kB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/3.977, allocations: 3.984 kB / 2.519 GB, free: 20 kB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3246/4.302, allocations: 1.7 MB / 2.521 GB, free: 273.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/4.302, allocations: 0 / 2.521 GB, free: 273.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/4.303, allocations: 144.5 kB / 2.521 GB, free: 273.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/4.303, allocations: 83.31 kB / 2.521 GB, free: 273.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/4.303, allocations: 21.17 kB / 2.521 GB, free: 273.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/4.305, allocations: 1.475 MB / 2.522 GB, free: 272.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/4.305, allocations: 3.688 kB / 2.523 GB, free: 272.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001416/4.306, allocations: 0.8227 MB / 2.523 GB, free: 272.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/4.307, allocations: 270.5 kB / 2.524 GB, free: 272.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/4.307, allocations: 8 kB / 2.524 GB, free: 272.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/4.307, allocations: 56.48 kB / 2.524 GB, free: 272.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/4.308, allocations: 59.8 kB / 2.524 GB, free: 272.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/4.308, allocations: 31.38 kB / 2.524 GB, free: 272.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004638/4.308, allocations: 403.8 kB / 2.524 GB, free: 272.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001157/4.309, allocations: 325.3 kB / 2.524 GB, free: 272.1 MB / 0.6982 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 (87): * Single equations (assignments): 84 * 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.001748/4.311, allocations: 1.055 MB / 2.525 GB, free: 271.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001176/4.312, allocations: 0.6519 MB / 2.526 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/4.312, allocations: 0 / 2.526 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006318/4.313, allocations: 447.3 kB / 2.526 GB, free: 271.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/4.314, allocations: 208.7 kB / 2.527 GB, free: 271.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/4.317, allocations: 1.339 MB / 2.528 GB, free: 271.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/4.318, allocations: 1.128 MB / 2.529 GB, free: 270.7 MB / 0.6982 GB Notification: Performance of SimCode: time 1.062e-06/4.318, allocations: 0 / 2.529 GB, free: 270.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.03187/4.35, allocations: 16.66 MB / 2.545 GB, free: 269.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)