Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.5345/0.5345, allocations: 94.73 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001159/0.001159, allocations: 172.8 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.167/1.167, allocations: 170.5 MB / 319 MB, free: 9.352 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001619/0.001619, allocations: 104.4 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.105e-06, allocations: 4.219 kB / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 61.52 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.8/10.92, allocations: 4.48 GB / 4.978 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/10.92, allocations: 87.12 kB / 4.978 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.2044/11.13, allocations: 99.49 MB / 5.075 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.819e-05/11.13, allocations: 28 kB / 5.075 GB, free: 67.77 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002291/11.13, allocations: 1.565 MB / 5.077 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/11.13, allocations: 12.03 kB / 5.077 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006261/11.13, allocations: 174.2 kB / 5.077 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/11.13, allocations: 0.6683 MB / 5.077 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/11.13, allocations: 84.2 kB / 5.078 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/11.13, allocations: 72 kB / 5.078 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/11.13, allocations: 1.238 MB / 5.079 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/11.13, allocations: 1.036 MB / 5.08 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/11.13, allocations: 3.938 kB / 5.08 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/11.13, allocations: 7.938 kB / 5.08 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/11.13, allocations: 31.98 kB / 5.08 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/11.14, allocations: 3.308 MB / 5.083 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/11.14, allocations: 0.7229 MB / 5.084 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/11.14, allocations: 305.2 kB / 5.084 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/11.14, allocations: 2.04 MB / 5.086 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005985/11.14, allocations: 476.5 kB / 5.087 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=90): time 4.127e-06/11.14, allocations: 0 / 5.087 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90): time 0.002365/11.14, allocations: 0.8812 MB / 5.087 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/11.14, allocations: 299.5 kB / 5.088 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/11.14, allocations: 0.4908 MB / 5.088 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/11.14, allocations: 29.7 kB / 5.088 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/11.14, allocations: 435.5 kB / 5.089 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/11.14, allocations: 291.7 kB / 5.089 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/11.14, allocations: 0 / 5.089 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001221/11.14, allocations: 374.8 kB / 5.089 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/11.14, allocations: 269.9 kB / 5.09 GB, free: 52.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/11.15, allocations: 367.6 kB / 5.09 GB, free: 51.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/11.15, allocations: 426.5 kB / 5.09 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/11.15, allocations: 4 kB / 5.09 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002203/11.15, allocations: 0.9672 MB / 5.091 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/11.15, allocations: 8 kB / 5.091 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/11.15, allocations: 7.891 kB / 5.091 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/11.15, allocations: 80.86 kB / 5.091 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/11.15, allocations: 155.8 kB / 5.091 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/11.15, allocations: 1.374 MB / 5.093 GB, free: 48.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/11.15, allocations: 55.3 kB / 5.093 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.188e-05/11.15, allocations: 39.97 kB / 5.093 GB, free: 48.46 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 9 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003256/11.15, allocations: 259.2 kB / 5.093 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/11.15, allocations: 90.97 kB / 5.093 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/11.16, allocations: 1.234 MB / 5.094 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/11.16, allocations: 8 kB / 5.094 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/11.16, allocations: 4 kB / 5.094 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/11.16, allocations: 3.984 kB / 5.094 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/11.16, allocations: 2.174 MB / 5.097 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/11.16, allocations: 3.938 kB / 5.097 GB, free: 44.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/11.16, allocations: 159.8 kB / 5.097 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/11.16, allocations: 72.8 kB / 5.097 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/11.16, allocations: 23.97 kB / 5.097 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/11.16, allocations: 1.379 MB / 5.098 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/11.16, allocations: 0 / 5.098 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002288/11.16, allocations: 1.051 MB / 5.099 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/11.16, allocations: 327.6 kB / 5.1 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/11.17, allocations: 4 kB / 5.1 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/11.17, allocations: 39.97 kB / 5.1 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/11.17, allocations: 60.69 kB / 5.1 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/11.17, allocations: 43.92 kB / 5.1 GB, free: 41.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005428/11.17, allocations: 427.1 kB / 5.1 GB, free: 40.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001506/11.17, allocations: 434.4 kB / 5.1 GB, free: 40.45 MB / 0.5261 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 5 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/11.17, allocations: 0.6321 MB / 5.101 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001518/11.17, allocations: 1.052 MB / 5.102 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/11.17, allocations: 0 / 5.102 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/11.17, allocations: 0.6418 MB / 5.103 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/11.17, allocations: 152.5 kB / 5.103 GB, free: 38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/11.18, allocations: 1.441 MB / 5.104 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008727/11.18, allocations: 1.23 MB / 5.106 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/11.18, allocations: 4 kB / 5.106 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.02517/11.2, allocations: 15 MB / 5.12 GB, free: 20.35 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)