Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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.338/1.338, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001032/0.001032, allocations: 177.2 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.003/1.003, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.000815/0.000815, allocations: 90.28 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.375e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 116.3 MB / 0.9725 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.406/3.815, allocations: 2.076 GB / 3.049 GB, free: 353.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/3.816, allocations: 91.05 kB / 3.049 GB, free: 353.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.2038/4.019, allocations: 97.29 MB / 3.144 GB, free: 290.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.976e-05/4.02, allocations: 44 kB / 3.144 GB, free: 290.1 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.003254/4.023, allocations: 1.942 MB / 3.146 GB, free: 288.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/4.023, allocations: 8.031 kB / 3.146 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/4.035, allocations: 2.042 MB / 3.148 GB, free: 286 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/4.037, allocations: 1.032 MB / 3.149 GB, free: 284.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/4.037, allocations: 64 kB / 3.149 GB, free: 284.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/4.038, allocations: 104 kB / 3.149 GB, free: 284.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004121/4.042, allocations: 2.771 MB / 3.152 GB, free: 282 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/4.045, allocations: 2.092 MB / 3.154 GB, free: 279.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/4.045, allocations: 0 / 3.154 GB, free: 279.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/4.045, allocations: 7.984 kB / 3.154 GB, free: 279.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/4.045, allocations: 48 kB / 3.154 GB, free: 279.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/4.056, allocations: 6.178 MB / 3.16 GB, free: 273.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/4.059, allocations: 1.843 MB / 3.162 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/4.06, allocations: 0.9863 MB / 3.163 GB, free: 270.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/4.061, allocations: 0.5033 MB / 3.163 GB, free: 270.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/4.062, allocations: 1.235 MB / 3.164 GB, free: 268.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 3.837e-06/4.062, allocations: 0 / 3.164 GB, free: 268.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.004477/4.067, allocations: 2.156 MB / 3.166 GB, free: 266.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/4.067, allocations: 257.3 kB / 3.167 GB, free: 266.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/4.067, allocations: 0.6569 MB / 3.167 GB, free: 265.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/4.068, allocations: 37.64 kB / 3.167 GB, free: 265.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/4.068, allocations: 0.5122 MB / 3.168 GB, free: 265.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/4.068, allocations: 0.5963 MB / 3.168 GB, free: 264.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/4.069, allocations: 0 / 3.168 GB, free: 264.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/4.069, allocations: 369.9 kB / 3.169 GB, free: 264.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/4.07, allocations: 0.7537 MB / 3.17 GB, free: 263.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/4.071, allocations: 0.9189 MB / 3.17 GB, free: 262.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/4.073, allocations: 0.9858 MB / 3.171 GB, free: 261.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/4.073, allocations: 0 / 3.171 GB, free: 261.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004197/4.077, allocations: 2.211 MB / 3.174 GB, free: 259.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/4.077, allocations: 7.984 kB / 3.174 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/4.077, allocations: 0 / 3.174 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/4.078, allocations: 84.88 kB / 3.174 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/4.081, allocations: 0.5539 MB / 3.174 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/4.083, allocations: 1.465 MB / 3.176 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/4.085, allocations: 282.6 kB / 3.176 GB, free: 256.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/4.086, allocations: 99.88 kB / 3.176 GB, free: 256.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0003532/4.086, allocations: 125.4 kB / 3.176 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/4.086, allocations: 130.4 kB / 3.176 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/4.093, allocations: 2.839 MB / 3.179 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/4.093, allocations: 20 kB / 3.179 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/4.093, allocations: 0 / 3.179 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/4.093, allocations: 11.95 kB / 3.179 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/4.1, allocations: 4.754 MB / 3.184 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/4.1, allocations: 0 / 3.184 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/4.104, allocations: 0.5344 MB / 3.184 GB, free: 248.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/4.104, allocations: 104.7 kB / 3.184 GB, free: 248 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/4.104, allocations: 43.92 kB / 3.184 GB, free: 248 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/4.106, allocations: 1.472 MB / 3.186 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/4.106, allocations: 3.938 kB / 3.186 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004163/4.11, allocations: 2.356 MB / 3.188 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/4.111, allocations: 0.522 MB / 3.189 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/4.111, allocations: 3.938 kB / 3.189 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/4.114, allocations: 231.7 kB / 3.189 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/4.114, allocations: 105.8 kB / 3.189 GB, free: 243.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/4.114, allocations: 83.91 kB / 3.189 GB, free: 243.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006128/4.115, allocations: 0.5499 MB / 3.19 GB, free: 242.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001653/4.116, allocations: 0.5451 MB / 3.19 GB, free: 242 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 (206): * Single equations (assignments): 203 * 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.001738/4.118, allocations: 1.059 MB / 3.191 GB, free: 241 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003091/4.121, allocations: 2.077 MB / 3.193 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/4.121, allocations: 0 / 3.193 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/4.123, allocations: 1.228 MB / 3.194 GB, free: 237.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/4.124, allocations: 226.1 kB / 3.195 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/4.131, allocations: 2.748 MB / 3.197 GB, free: 234.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/4.133, allocations: 1.605 MB / 3.199 GB, free: 233 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/4.133, allocations: 0 / 3.199 GB, free: 233 MB / 0.948 GB Notification: Performance of Templates: time 0.04402/4.177, allocations: 35.79 MB / 3.234 GB, free: 197.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)