Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 185.5 kB / 7.804 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4936/0.4936, allocations: 90.85 MB / 99.08 MB, free: 15.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.4 MB / 342.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.0009887, allocations: 93.92 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/9.047e-06, allocations: 4 kB / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4664, allocations: 72.3 MB / 0.5529 GB, free: 73.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.503/3.969, allocations: 1.686 GB / 2.239 GB, free: 142.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/3.969, allocations: 83.95 kB / 2.239 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1781/4.147, allocations: 84.5 MB / 2.321 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001175/4.148, allocations: 27.98 kB / 2.321 GB, free: 58.19 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003202/4.151, allocations: 1.361 MB / 2.323 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/4.151, allocations: 8.031 kB / 2.323 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/4.152, allocations: 242 kB / 2.323 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/4.154, allocations: 0.7483 MB / 2.324 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/4.154, allocations: 84.19 kB / 2.324 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/4.154, allocations: 72 kB / 2.324 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/4.156, allocations: 1.27 MB / 2.325 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/4.158, allocations: 1.058 MB / 2.326 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/4.158, allocations: 0 / 2.326 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/4.158, allocations: 0 / 2.326 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/4.158, allocations: 32 kB / 2.326 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/4.163, allocations: 3.558 MB / 2.33 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/4.164, allocations: 0.8024 MB / 2.33 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/4.165, allocations: 319.2 kB / 2.331 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/4.165, allocations: 48.55 kB / 2.331 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/4.165, allocations: 491.8 kB / 2.331 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=93): time 2.645e-06/4.166, allocations: 0 / 2.331 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93): time 0.001756/4.167, allocations: 0.8264 MB / 2.332 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/4.167, allocations: 252.1 kB / 2.332 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/4.168, allocations: 0.5778 MB / 2.333 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/4.168, allocations: 25.7 kB / 2.333 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/4.168, allocations: 435.6 kB / 2.333 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/4.168, allocations: 295.6 kB / 2.334 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/4.169, allocations: 0 / 2.334 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/4.169, allocations: 386.8 kB / 2.334 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/4.169, allocations: 269.9 kB / 2.334 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/4.169, allocations: 394.4 kB / 2.335 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/4.17, allocations: 338.8 kB / 2.335 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/4.17, allocations: 4 kB / 2.335 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00164/4.172, allocations: 0.8702 MB / 2.336 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/4.172, allocations: 14.06 kB / 2.336 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/4.172, allocations: 4 kB / 2.336 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/4.172, allocations: 80.78 kB / 2.336 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/4.173, allocations: 191.7 kB / 2.336 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/4.175, allocations: 1.466 MB / 2.337 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/4.176, allocations: 79.36 kB / 2.337 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/4.176, allocations: 39.97 kB / 2.338 GB, free: 41.05 MB / 0.6042 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.0002414/4.176, allocations: 120.8 kB / 2.338 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/4.176, allocations: 90.88 kB / 2.338 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/4.179, allocations: 1.202 MB / 2.339 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/4.179, allocations: 12 kB / 2.339 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/4.179, allocations: 0 / 2.339 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/4.179, allocations: 7.969 kB / 2.339 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/4.182, allocations: 2.217 MB / 2.341 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/4.182, allocations: 4 kB / 2.341 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/4.183, allocations: 187.7 kB / 2.341 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/4.183, allocations: 88.77 kB / 2.341 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-05/4.184, allocations: 15.98 kB / 2.341 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/4.185, allocations: 1.484 MB / 2.343 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/4.185, allocations: 3.906 kB / 2.343 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001732/4.187, allocations: 0.998 MB / 2.344 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/4.187, allocations: 339.5 kB / 2.344 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/4.188, allocations: 3.984 kB / 2.344 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/4.189, allocations: 63.86 kB / 2.344 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/4.189, allocations: 68.89 kB / 2.344 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/4.189, allocations: 39.97 kB / 2.344 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006516/4.189, allocations: 491.1 kB / 2.345 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001361/4.191, allocations: 410.5 kB / 2.345 GB, free: 33.03 MB / 0.6042 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.002007/4.193, allocations: 1.049 MB / 2.346 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001534/4.194, allocations: 0.8462 MB / 2.347 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/4.194, allocations: 0 / 2.347 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007978/4.195, allocations: 0.5288 MB / 2.348 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/4.196, allocations: 213.3 kB / 2.348 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/4.201, allocations: 1.714 MB / 2.349 GB, free: 28.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/4.202, allocations: 1.292 MB / 2.351 GB, free: 27.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/4.202, allocations: 0 / 2.351 GB, free: 27.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.02877/4.231, allocations: 19.42 MB / 2.37 GB, free: 8.074 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)