Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009887/0.0009888, allocations: 185.3 kB / 361.1 MB, free: 7.098 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.086/1.086, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008046/0.0008045, allocations: 96.55 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.751e-06, allocations: 0 / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4267, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.712/3.139, allocations: 2.072 GB / 3.035 GB, free: 68.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/3.139, allocations: 93.73 kB / 3.036 GB, free: 68.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1342/3.274, allocations: 67.33 MB / 3.101 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.046e-05/3.274, allocations: 24 kB / 3.101 GB, free: 0.7617 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.2459/3.52, allocations: 1.126 MB / 3.102 GB, free: 394.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/3.52, allocations: 8.281 kB / 3.102 GB, free: 394.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/3.521, allocations: 222 kB / 3.103 GB, free: 394.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/3.522, allocations: 0.6255 MB / 3.103 GB, free: 394.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/3.522, allocations: 33.19 kB / 3.103 GB, free: 394.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/3.522, allocations: 52.03 kB / 3.103 GB, free: 394.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/3.523, allocations: 1.019 MB / 3.104 GB, free: 394.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/3.524, allocations: 0.7776 MB / 3.105 GB, free: 394.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/3.524, allocations: 0 / 3.105 GB, free: 394.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/3.524, allocations: 0 / 3.105 GB, free: 394.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/3.524, allocations: 23.56 kB / 3.105 GB, free: 394.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/3.527, allocations: 2.395 MB / 3.107 GB, free: 393.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/3.528, allocations: 0.6567 MB / 3.108 GB, free: 393.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/3.528, allocations: 252.7 kB / 3.108 GB, free: 393.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/3.529, allocations: 468.9 kB / 3.109 GB, free: 393.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/3.529, allocations: 386.8 kB / 3.109 GB, free: 393.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.703e-06/3.529, allocations: 0 / 3.109 GB, free: 393.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001602/3.531, allocations: 0.7041 MB / 3.11 GB, free: 393.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/3.531, allocations: 239.8 kB / 3.11 GB, free: 392.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/3.532, allocations: 0.5038 MB / 3.111 GB, free: 392.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/3.532, allocations: 33.17 kB / 3.111 GB, free: 392.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/3.532, allocations: 315.1 kB / 3.111 GB, free: 392.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/3.532, allocations: 240.8 kB / 3.111 GB, free: 392.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/3.532, allocations: 0 / 3.111 GB, free: 392.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/3.532, allocations: 369 kB / 3.111 GB, free: 392.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/3.532, allocations: 194 kB / 3.112 GB, free: 392.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/3.533, allocations: 300.7 kB / 3.112 GB, free: 392 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/3.533, allocations: 301.5 kB / 3.112 GB, free: 392 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/3.533, allocations: 6.875 kB / 3.112 GB, free: 392 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001486/3.535, allocations: 0.7151 MB / 3.113 GB, free: 391.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/3.535, allocations: 3.906 kB / 3.113 GB, free: 391.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/3.535, allocations: 3.938 kB / 3.113 GB, free: 391.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/3.535, allocations: 89.69 kB / 3.113 GB, free: 391.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/3.536, allocations: 140.4 kB / 3.113 GB, free: 391.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/3.537, allocations: 1.453 MB / 3.115 GB, free: 390.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/3.538, allocations: 68.7 kB / 3.115 GB, free: 390.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/3.538, allocations: 24.78 kB / 3.115 GB, free: 390.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 (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.0001316/3.538, allocations: 120.9 kB / 3.115 GB, free: 390.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/3.538, allocations: 68 kB / 3.115 GB, free: 390.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/3.54, allocations: 1.007 MB / 3.116 GB, free: 390.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/3.54, allocations: 10.16 kB / 3.116 GB, free: 390.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/3.54, allocations: 0 / 3.116 GB, free: 390.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/3.54, allocations: 10.38 kB / 3.116 GB, free: 390.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/3.541, allocations: 0.7593 MB / 3.117 GB, free: 390.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/3.541, allocations: 0 / 3.117 GB, free: 390.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/3.542, allocations: 148.3 kB / 3.117 GB, free: 390.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/3.542, allocations: 87.5 kB / 3.117 GB, free: 390.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/3.542, allocations: 21.41 kB / 3.117 GB, free: 390.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/3.544, allocations: 1.472 MB / 3.118 GB, free: 389 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/3.544, allocations: 0 / 3.118 GB, free: 389 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001455/3.545, allocations: 0.8157 MB / 3.119 GB, free: 388.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/3.545, allocations: 280.2 kB / 3.119 GB, free: 388.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/3.545, allocations: 3 kB / 3.119 GB, free: 388.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/3.546, allocations: 59.61 kB / 3.119 GB, free: 388.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/3.546, allocations: 49.38 kB / 3.119 GB, free: 388.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/3.546, allocations: 38.11 kB / 3.12 GB, free: 388.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000365/3.547, allocations: 411 kB / 3.12 GB, free: 388.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008202/3.547, allocations: 334.2 kB / 3.12 GB, free: 388.6 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 (84): * Single equations (assignments): 81 * 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.001322/3.549, allocations: 1.034 MB / 3.121 GB, free: 388.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000943/3.55, allocations: 0.6554 MB / 3.122 GB, free: 388.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/3.55, allocations: 0 / 3.122 GB, free: 388.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/3.55, allocations: 445.9 kB / 3.122 GB, free: 388.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/3.551, allocations: 211.3 kB / 3.122 GB, free: 388.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/3.554, allocations: 1.381 MB / 3.124 GB, free: 388 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/3.555, allocations: 1.141 MB / 3.125 GB, free: 387.3 MB / 0.948 GB Notification: Performance of SimCode: time 3e-07/3.555, allocations: 0 / 3.125 GB, free: 387.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02335/3.578, allocations: 16.92 MB / 3.141 GB, free: 386.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)