Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009263/0.0009263, allocations: 189.2 kB / 361.1 MB, free: 7.062 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008096/0.0008096, allocations: 89.38 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.621e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4122, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.844/3.256, allocations: 2.075 GB / 3.039 GB, free: 48.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/3.256, allocations: 80.56 kB / 3.039 GB, free: 47.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5457/3.802, allocations: 97.3 MB / 3.134 GB, free: 311.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000112/3.802, allocations: 47.06 kB / 3.134 GB, free: 311.3 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.00423/3.806, allocations: 1.943 MB / 3.136 GB, free: 310.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/3.807, allocations: 10.22 kB / 3.136 GB, free: 310.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/3.82, allocations: 2.034 MB / 3.138 GB, free: 310.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/3.822, allocations: 1.03 MB / 3.139 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/3.822, allocations: 61.41 kB / 3.139 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006746/3.823, allocations: 107 kB / 3.139 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00549/3.828, allocations: 2.772 MB / 3.142 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/3.834, allocations: 2.084 MB / 3.144 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/3.834, allocations: 0 / 3.144 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004092/3.834, allocations: 6.312 kB / 3.144 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/3.834, allocations: 51.53 kB / 3.144 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/3.849, allocations: 6.196 MB / 3.15 GB, free: 306.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/3.852, allocations: 1.841 MB / 3.152 GB, free: 305.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/3.854, allocations: 0.9821 MB / 3.153 GB, free: 305 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/3.855, allocations: 0.5085 MB / 3.153 GB, free: 304.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001945/3.857, allocations: 1.226 MB / 3.155 GB, free: 303.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 5.58e-06/3.857, allocations: 0 / 3.155 GB, free: 303.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.004982/3.862, allocations: 2.167 MB / 3.157 GB, free: 302.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/3.862, allocations: 253.2 kB / 3.157 GB, free: 302.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/3.863, allocations: 0.6529 MB / 3.158 GB, free: 302 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000181/3.863, allocations: 28.48 kB / 3.158 GB, free: 302 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/3.863, allocations: 0.5312 MB / 3.158 GB, free: 301.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/3.864, allocations: 0.5876 MB / 3.159 GB, free: 301 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/3.864, allocations: 0 / 3.159 GB, free: 301 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/3.864, allocations: 373.5 kB / 3.159 GB, free: 300.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/3.865, allocations: 0.7464 MB / 3.16 GB, free: 300.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/3.867, allocations: 0.923 MB / 3.161 GB, free: 299.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/3.869, allocations: 0.9844 MB / 3.162 GB, free: 299.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/3.869, allocations: 2.906 kB / 3.162 GB, free: 299.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004671/3.873, allocations: 2.212 MB / 3.164 GB, free: 298.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/3.873, allocations: 5.281 kB / 3.164 GB, free: 298.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/3.874, allocations: 1.188 kB / 3.164 GB, free: 298.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/3.874, allocations: 88.84 kB / 3.164 GB, free: 298.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/3.878, allocations: 0.554 MB / 3.164 GB, free: 297.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/3.88, allocations: 1.456 MB / 3.166 GB, free: 296.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/3.882, allocations: 287.3 kB / 3.166 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/3.883, allocations: 90.44 kB / 3.166 GB, free: 296.3 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.000471/3.883, allocations: 131.8 kB / 3.166 GB, free: 296.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/3.884, allocations: 133.1 kB / 3.166 GB, free: 296.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/3.891, allocations: 2.84 MB / 3.169 GB, free: 294.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/3.891, allocations: 23.62 kB / 3.169 GB, free: 294.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.891, allocations: 2.812 kB / 3.169 GB, free: 294.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/3.891, allocations: 7.969 kB / 3.169 GB, free: 294.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/3.899, allocations: 4.748 MB / 3.174 GB, free: 291.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/3.899, allocations: 5.031 kB / 3.174 GB, free: 291.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/3.902, allocations: 0.5424 MB / 3.174 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/3.903, allocations: 89.72 kB / 3.174 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/3.903, allocations: 46.39 kB / 3.175 GB, free: 291.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/3.905, allocations: 1.484 MB / 3.176 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/3.905, allocations: 3.906 kB / 3.176 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004598/3.909, allocations: 2.35 MB / 3.178 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008858/3.91, allocations: 0.5186 MB / 3.179 GB, free: 288.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/3.911, allocations: 4 kB / 3.179 GB, free: 288.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/3.913, allocations: 229.1 kB / 3.179 GB, free: 288.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/3.914, allocations: 107.3 kB / 3.179 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/3.914, allocations: 86.67 kB / 3.179 GB, free: 288.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007454/3.915, allocations: 0.5537 MB / 3.18 GB, free: 287.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001814/3.916, allocations: 0.5449 MB / 3.18 GB, free: 287.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.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.001732/3.918, allocations: 1.049 MB / 3.181 GB, free: 287.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003442/3.922, allocations: 2.08 MB / 3.183 GB, free: 285.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/3.922, allocations: 0 / 3.183 GB, free: 285.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/3.923, allocations: 1.23 MB / 3.185 GB, free: 284.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/3.925, allocations: 224.8 kB / 3.185 GB, free: 284.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/3.931, allocations: 2.74 MB / 3.187 GB, free: 281.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/3.933, allocations: 1.601 MB / 3.189 GB, free: 280 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/3.933, allocations: 0 / 3.189 GB, free: 280 MB / 0.948 GB Notification: Performance of Templates: time 0.04485/3.978, allocations: 35.79 MB / 3.224 GB, free: 244.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)