Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.113/2.113, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 189.2 kB / 360.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.001219, allocations: 85.36 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.636e-06, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5392, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.151/4.69, allocations: 2.075 GB / 3.038 GB, free: 43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/4.691, allocations: 85.17 kB / 3.038 GB, free: 42.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.7402/5.431, allocations: 97.3 MB / 3.133 GB, free: 312.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001376/5.431, allocations: 41.64 kB / 3.133 GB, free: 312.4 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.005972/5.437, allocations: 1.942 MB / 3.135 GB, free: 311.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/5.437, allocations: 9.75 kB / 3.135 GB, free: 311.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02485/5.462, allocations: 2.031 MB / 3.137 GB, free: 311.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/5.465, allocations: 1.035 MB / 3.138 GB, free: 310.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/5.465, allocations: 60.56 kB / 3.138 GB, free: 310.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/5.466, allocations: 105.9 kB / 3.138 GB, free: 310.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008592/5.475, allocations: 2.779 MB / 3.141 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006262/5.481, allocations: 2.087 MB / 3.143 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.772e-05/5.481, allocations: 5.25 kB / 3.143 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/5.481, allocations: 3.5 kB / 3.143 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/5.481, allocations: 47.28 kB / 3.143 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/5.505, allocations: 6.185 MB / 3.149 GB, free: 306 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/5.51, allocations: 1.839 MB / 3.151 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/5.513, allocations: 0.9814 MB / 3.152 GB, free: 304.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/5.514, allocations: 0.5075 MB / 3.152 GB, free: 304.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002936/5.517, allocations: 1.233 MB / 3.154 GB, free: 303.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 4.418e-06/5.517, allocations: 0 / 3.154 GB, free: 303.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.008167/5.525, allocations: 2.158 MB / 3.156 GB, free: 302.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/5.525, allocations: 259.1 kB / 3.156 GB, free: 301.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/5.527, allocations: 0.6625 MB / 3.157 GB, free: 301.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000307/5.527, allocations: 29.7 kB / 3.157 GB, free: 301.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/5.528, allocations: 0.5154 MB / 3.157 GB, free: 301.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006518/5.528, allocations: 0.5952 MB / 3.158 GB, free: 300.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/5.528, allocations: 0 / 3.158 GB, free: 300.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/5.529, allocations: 368.4 kB / 3.158 GB, free: 300.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/5.531, allocations: 0.7517 MB / 3.159 GB, free: 299.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/5.533, allocations: 0.9262 MB / 3.16 GB, free: 299.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/5.537, allocations: 0.9801 MB / 3.161 GB, free: 298.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/5.537, allocations: 0 / 3.161 GB, free: 298.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008506/5.545, allocations: 2.215 MB / 3.163 GB, free: 297.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/5.546, allocations: 3.469 kB / 3.163 GB, free: 297.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/5.546, allocations: 4.094 kB / 3.163 GB, free: 297.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/5.547, allocations: 87.12 kB / 3.163 GB, free: 297.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007377/5.554, allocations: 0.5517 MB / 3.163 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/5.557, allocations: 1.457 MB / 3.165 GB, free: 296.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005695/5.563, allocations: 292.6 kB / 3.165 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/5.563, allocations: 87.77 kB / 3.165 GB, free: 295.9 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.0006895/5.564, allocations: 138.4 kB / 3.165 GB, free: 295.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/5.564, allocations: 128.8 kB / 3.165 GB, free: 295.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/5.576, allocations: 2.843 MB / 3.168 GB, free: 294.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/5.576, allocations: 20.88 kB / 3.168 GB, free: 294.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/5.577, allocations: 4 kB / 3.168 GB, free: 294.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/5.577, allocations: 11.95 kB / 3.168 GB, free: 294.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/5.591, allocations: 4.758 MB / 3.173 GB, free: 291.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/5.591, allocations: 1.125 kB / 3.173 GB, free: 291.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006804/5.598, allocations: 0.536 MB / 3.173 GB, free: 291 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000931/5.598, allocations: 92.36 kB / 3.173 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/5.599, allocations: 42.52 kB / 3.174 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/5.601, allocations: 1.48 MB / 3.175 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/5.601, allocations: 4.844 kB / 3.175 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008931/5.61, allocations: 2.352 MB / 3.177 GB, free: 288.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/5.612, allocations: 0.5221 MB / 3.178 GB, free: 287.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000604/5.613, allocations: 2.531 kB / 3.178 GB, free: 287.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005393/5.618, allocations: 230.4 kB / 3.178 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/5.618, allocations: 108.7 kB / 3.178 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003907/5.619, allocations: 90 kB / 3.178 GB, free: 287.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001174/5.62, allocations: 0.5467 MB / 3.179 GB, free: 287.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002938/5.623, allocations: 0.5424 MB / 3.179 GB, free: 287.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 (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.002449/5.625, allocations: 1.043 MB / 3.18 GB, free: 286.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006411/5.632, allocations: 2.084 MB / 3.182 GB, free: 285.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/5.632, allocations: 4.312 kB / 3.182 GB, free: 285.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00324/5.635, allocations: 1.223 MB / 3.183 GB, free: 284 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/5.638, allocations: 238.1 kB / 3.184 GB, free: 283.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/5.649, allocations: 2.742 MB / 3.186 GB, free: 281 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003251/5.652, allocations: 1.609 MB / 3.188 GB, free: 279.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.91e-07/5.652, allocations: 0 / 3.188 GB, free: 279.4 MB / 0.948 GB Notification: Performance of Templates: time 0.08061/5.733, allocations: 35.77 MB / 3.223 GB, free: 244 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)