Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [: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.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.0009163/0.0009162, allocations: 173.3 kB / 366.3 MB, free: 1.984 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.011/1.011, allocations: 205.1 MB / 0.6256 GB, free: 5.887 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.0008106/0.0008103, allocations: 77.27 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.813e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4169, allocations: 116.3 MB / 0.9726 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.12/3.537, allocations: 2.073 GB / 3.045 GB, free: 3.207 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/3.537, allocations: 83.89 kB / 3.045 GB, free: 3.125 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5022/4.039, allocations: 78.98 MB / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.141e-05/4.039, allocations: 28 kB / 3.123 GB, free: 312.5 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001767/4.041, allocations: 1.273 MB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/4.041, allocations: 16.03 kB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/4.042, allocations: 226.1 kB / 3.124 GB, free: 310.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/4.043, allocations: 0.7094 MB / 3.125 GB, free: 310.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/4.043, allocations: 36 kB / 3.125 GB, free: 310.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/4.043, allocations: 64 kB / 3.125 GB, free: 310.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001383/4.045, allocations: 1.109 MB / 3.126 GB, free: 308.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/4.046, allocations: 0.9217 MB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/4.046, allocations: 0 / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/4.046, allocations: 0 / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/4.046, allocations: 28 kB / 3.127 GB, free: 307.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/4.049, allocations: 2.836 MB / 3.13 GB, free: 305 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/4.05, allocations: 0.6804 MB / 3.13 GB, free: 304.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/4.05, allocations: 258.8 kB / 3.131 GB, free: 304.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-05/4.051, allocations: 36.67 kB / 3.131 GB, free: 304.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/4.051, allocations: 394.1 kB / 3.131 GB, free: 303.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 2.054e-06/4.051, allocations: 0 / 3.131 GB, free: 303.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=78): time 0.001418/4.052, allocations: 0.6716 MB / 3.132 GB, free: 303 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/4.053, allocations: 244 kB / 3.132 GB, free: 302.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/4.053, allocations: 0.5582 MB / 3.132 GB, free: 302.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/4.053, allocations: 25.7 kB / 3.132 GB, free: 302.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/4.053, allocations: 403.5 kB / 3.133 GB, free: 301.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/4.053, allocations: 248.2 kB / 3.133 GB, free: 301.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/4.053, allocations: 0 / 3.133 GB, free: 301.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/4.054, allocations: 390.8 kB / 3.133 GB, free: 301 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/4.054, allocations: 205.5 kB / 3.134 GB, free: 300.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/4.054, allocations: 311.5 kB / 3.134 GB, free: 300.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/4.055, allocations: 264.4 kB / 3.134 GB, free: 300.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/4.055, allocations: 3.938 kB / 3.134 GB, free: 300.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001298/4.056, allocations: 0.7056 MB / 3.135 GB, free: 299.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/4.056, allocations: 4 kB / 3.135 GB, free: 299.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/4.056, allocations: 0 / 3.135 GB, free: 299.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/4.056, allocations: 88.78 kB / 3.135 GB, free: 299.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/4.057, allocations: 147.8 kB / 3.135 GB, free: 299.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/4.059, allocations: 1.453 MB / 3.137 GB, free: 297.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/4.059, allocations: 75.33 kB / 3.137 GB, free: 297.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/4.059, allocations: 36.03 kB / 3.137 GB, free: 297.6 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 (83): * Single equations (assignments): 82 * 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.0001406/4.059, allocations: 112.9 kB / 3.137 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/4.059, allocations: 83.08 kB / 3.137 GB, free: 297.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/4.061, allocations: 0.9494 MB / 3.138 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/4.061, allocations: 8 kB / 3.138 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/4.061, allocations: 4 kB / 3.138 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/4.061, allocations: 11.97 kB / 3.138 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007984/4.062, allocations: 0.8412 MB / 3.139 GB, free: 295.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/4.062, allocations: 0 / 3.139 GB, free: 295.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/4.063, allocations: 147.8 kB / 3.139 GB, free: 295.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/4.063, allocations: 80.78 kB / 3.139 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/4.063, allocations: 15.98 kB / 3.139 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/4.065, allocations: 1.484 MB / 3.14 GB, free: 293.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/4.065, allocations: 0 / 3.14 GB, free: 293.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001239/4.066, allocations: 0.784 MB / 3.141 GB, free: 292.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/4.066, allocations: 287.7 kB / 3.141 GB, free: 292.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/4.066, allocations: 7.984 kB / 3.141 GB, free: 292.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/4.067, allocations: 51.95 kB / 3.141 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/4.067, allocations: 56.83 kB / 3.141 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/4.067, allocations: 31.98 kB / 3.141 GB, free: 292.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004141/4.067, allocations: 447.1 kB / 3.142 GB, free: 292 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009835/4.068, allocations: 358.5 kB / 3.142 GB, free: 291.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 (89): * Single equations (assignments): 86 * 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.00135/4.07, allocations: 1.021 MB / 3.143 GB, free: 290.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001021/4.071, allocations: 0.6825 MB / 3.144 GB, free: 290 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/4.071, allocations: 0 / 3.144 GB, free: 290 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/4.071, allocations: 460.6 kB / 3.144 GB, free: 289.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/4.072, allocations: 225.5 kB / 3.145 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/4.076, allocations: 1.533 MB / 3.146 GB, free: 287.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007318/4.077, allocations: 1.205 MB / 3.147 GB, free: 286.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/4.077, allocations: 4 kB / 3.147 GB, free: 286.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02487/4.102, allocations: 17.01 MB / 3.164 GB, free: 269.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)