Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6676/0.6676, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 189.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 399.1 MB, free: 6.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007958, allocations: 86.81 kB / 476.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.513e-06/6.532e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.147, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.083/5.23, allocations: 2.149 GB / 2.77 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/5.23, allocations: 87.95 kB / 2.77 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.6754/5.906, allocations: 80.94 MB / 2.849 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.147e-05/5.906, allocations: 35.34 kB / 2.849 GB, free: 156.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002937/5.909, allocations: 1.298 MB / 2.85 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/5.909, allocations: 11.8 kB / 2.85 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/5.911, allocations: 365.1 kB / 2.851 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/5.912, allocations: 0.6699 MB / 2.851 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/5.912, allocations: 82.84 kB / 2.851 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/5.912, allocations: 70.41 kB / 2.852 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001989/5.914, allocations: 1.269 MB / 2.853 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/5.916, allocations: 1.005 MB / 2.854 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/5.916, allocations: 3.938 kB / 2.854 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/5.916, allocations: 3.984 kB / 2.854 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/5.916, allocations: 35.34 kB / 2.854 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005966/5.922, allocations: 3.37 MB / 2.857 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/5.924, allocations: 0.8084 MB / 2.858 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/5.924, allocations: 344.7 kB / 2.858 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007027/5.925, allocations: 490.8 kB / 2.859 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007439/5.925, allocations: 0.5014 MB / 2.859 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=93): time 4.519e-06/5.926, allocations: 4 kB / 2.859 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=93): time 0.002441/5.928, allocations: 0.9002 MB / 2.86 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/5.928, allocations: 170.7 kB / 2.86 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/5.929, allocations: 0.5439 MB / 2.861 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.505e-05/5.929, allocations: 29.33 kB / 2.861 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/5.929, allocations: 411.7 kB / 2.861 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/5.93, allocations: 301.1 kB / 2.861 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/5.93, allocations: 0 / 2.861 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001553/5.93, allocations: 375.7 kB / 2.862 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/5.93, allocations: 288.8 kB / 2.862 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/5.931, allocations: 370.1 kB / 2.862 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/5.932, allocations: 413.2 kB / 2.863 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/5.932, allocations: 0.8438 kB / 2.863 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002974/5.935, allocations: 0.963 MB / 2.864 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/5.935, allocations: 5.094 kB / 2.864 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/5.935, allocations: 1 kB / 2.864 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/5.936, allocations: 86.94 kB / 2.864 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/5.937, allocations: 204.8 kB / 2.864 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/5.94, allocations: 1.455 MB / 2.866 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/5.941, allocations: 85.16 kB / 2.866 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/5.941, allocations: 39.25 kB / 2.866 GB, free: 148.5 MB / 0.6355 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.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 (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.0003042/5.942, allocations: 117.8 kB / 2.866 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/5.942, allocations: 83.19 kB / 2.866 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/5.947, allocations: 1.275 MB / 2.867 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/5.947, allocations: 10.69 kB / 2.867 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/5.947, allocations: 5.375 kB / 2.867 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/5.947, allocations: 7.969 kB / 2.867 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/5.953, allocations: 2.243 MB / 2.869 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/5.953, allocations: 4.969 kB / 2.869 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/5.954, allocations: 191.4 kB / 2.869 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006184/5.955, allocations: 83.22 kB / 2.87 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/5.955, allocations: 24.06 kB / 2.87 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/5.957, allocations: 1.485 MB / 2.871 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/5.957, allocations: 0 / 2.871 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003608/5.961, allocations: 1.068 MB / 2.872 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/5.962, allocations: 336.4 kB / 2.872 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/5.963, allocations: 5.781 kB / 2.872 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/5.964, allocations: 70.38 kB / 2.872 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/5.964, allocations: 57.28 kB / 2.873 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/5.964, allocations: 45.03 kB / 2.873 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001393/5.966, allocations: 458.7 kB / 2.873 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003101/5.969, allocations: 400.4 kB / 2.873 GB, free: 144.1 MB / 0.6355 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 (103): * Single equations (assignments): 100 * 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.003947/5.973, allocations: 1.015 MB / 2.874 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003028/5.976, allocations: 0.8519 MB / 2.875 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.693e-05/5.976, allocations: 4.938 kB / 2.875 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/5.978, allocations: 0.5268 MB / 2.876 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/5.98, allocations: 196.5 kB / 2.876 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/5.987, allocations: 1.64 MB / 2.877 GB, free: 142 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002254/5.989, allocations: 1.249 MB / 2.879 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.805e-06/5.989, allocations: 0 / 2.879 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.04938/6.039, allocations: 19.06 MB / 2.897 GB, free: 128.6 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)