Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.394/1.394, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001084/0.001084, allocations: 173.3 kB / 366.3 MB, free: 1.953 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.2/1.2, allocations: 205.2 MB / 0.6256 GB, free: 5.766 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.0008975/0.0008975, allocations: 89.88 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.493e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4897, allocations: 116.3 MB / 0.9725 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.444/3.933, allocations: 2.075 GB / 3.047 GB, free: 354.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/3.934, allocations: 92.34 kB / 3.047 GB, free: 354.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1699/4.104, allocations: 82.84 MB / 3.128 GB, free: 303 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.753e-05/4.104, allocations: 35.94 kB / 3.128 GB, free: 303 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002284/4.106, allocations: 1.325 MB / 3.129 GB, free: 301.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/4.106, allocations: 8.031 kB / 3.129 GB, free: 301.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/4.107, allocations: 238 kB / 3.13 GB, free: 301.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/4.108, allocations: 0.7522 MB / 3.13 GB, free: 300.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/4.108, allocations: 84.08 kB / 3.13 GB, free: 300.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/4.108, allocations: 68 kB / 3.131 GB, free: 300.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/4.11, allocations: 1.25 MB / 3.132 GB, free: 299.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/4.111, allocations: 1.028 MB / 3.133 GB, free: 298.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/4.112, allocations: 0 / 3.133 GB, free: 298.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/4.112, allocations: 4 kB / 3.133 GB, free: 298 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/4.112, allocations: 28 kB / 3.133 GB, free: 298 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/4.116, allocations: 3.393 MB / 3.136 GB, free: 294.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/4.117, allocations: 0.8069 MB / 3.137 GB, free: 293.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/4.117, allocations: 323.1 kB / 3.137 GB, free: 293.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.168e-05/4.117, allocations: 40.7 kB / 3.137 GB, free: 293.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/4.118, allocations: 491.7 kB / 3.138 GB, free: 292.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 2.485e-06/4.118, allocations: 0 / 3.138 GB, free: 292.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.001622/4.12, allocations: 0.8304 MB / 3.139 GB, free: 292 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/4.12, allocations: 248.1 kB / 3.139 GB, free: 291.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/4.12, allocations: 0.5936 MB / 3.139 GB, free: 291.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/4.12, allocations: 29.7 kB / 3.139 GB, free: 291.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/4.121, allocations: 419.8 kB / 3.14 GB, free: 290.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/4.121, allocations: 303.4 kB / 3.14 GB, free: 290.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/4.121, allocations: 0 / 3.14 GB, free: 290.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/4.121, allocations: 390.7 kB / 3.14 GB, free: 289.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/4.121, allocations: 270 kB / 3.141 GB, free: 289.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/4.122, allocations: 398.3 kB / 3.141 GB, free: 289.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/4.122, allocations: 338.8 kB / 3.141 GB, free: 288.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/4.122, allocations: 0 / 3.141 GB, free: 288.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001552/4.124, allocations: 0.8819 MB / 3.142 GB, free: 288 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/4.124, allocations: 4 kB / 3.142 GB, free: 288 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/4.124, allocations: 80 / 3.142 GB, free: 288 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/4.124, allocations: 88.83 kB / 3.142 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/4.125, allocations: 191.7 kB / 3.143 GB, free: 287.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/4.127, allocations: 1.465 MB / 3.144 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/4.127, allocations: 79.36 kB / 3.144 GB, free: 286.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/4.127, allocations: 39.97 kB / 3.144 GB, free: 286.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001535/4.127, allocations: 116.8 kB / 3.144 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/4.128, allocations: 94.86 kB / 3.144 GB, free: 285.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/4.13, allocations: 1.205 MB / 3.145 GB, free: 284.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/4.13, allocations: 12 kB / 3.145 GB, free: 284.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/4.13, allocations: 0 / 3.145 GB, free: 284.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/4.13, allocations: 11.89 kB / 3.145 GB, free: 284.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/4.133, allocations: 2.207 MB / 3.148 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/4.133, allocations: 4 kB / 3.148 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/4.134, allocations: 179.7 kB / 3.148 GB, free: 282.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/4.134, allocations: 92.75 kB / 3.148 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/4.134, allocations: 19.98 kB / 3.148 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/4.136, allocations: 1.476 MB / 3.149 GB, free: 280.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/4.136, allocations: 0 / 3.149 GB, free: 280.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00147/4.137, allocations: 1.006 MB / 3.15 GB, free: 279.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/4.138, allocations: 343.4 kB / 3.151 GB, free: 279.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/4.138, allocations: 4 kB / 3.151 GB, free: 279.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/4.138, allocations: 63.94 kB / 3.151 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/4.139, allocations: 64.89 kB / 3.151 GB, free: 278.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/4.139, allocations: 35.98 kB / 3.151 GB, free: 278.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004575/4.139, allocations: 0.503 MB / 3.151 GB, free: 278.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009525/4.14, allocations: 382.6 kB / 3.152 GB, free: 278 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 (107): * Single equations (assignments): 104 * 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.001286/4.141, allocations: 1.02 MB / 3.153 GB, free: 277.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001163/4.142, allocations: 0.8384 MB / 3.154 GB, free: 276.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/4.142, allocations: 0 / 3.154 GB, free: 276.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/4.143, allocations: 0.5288 MB / 3.154 GB, free: 275.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/4.144, allocations: 220.7 kB / 3.154 GB, free: 275.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/4.148, allocations: 1.708 MB / 3.156 GB, free: 273.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/4.148, allocations: 1.277 MB / 3.157 GB, free: 272.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/4.148, allocations: 0 / 3.157 GB, free: 272.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02347/4.172, allocations: 19.19 MB / 3.176 GB, free: 253.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)