Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6983/0.6983, allocations: 127.4 MB / 134.6 MB, free: 4.047 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.001582/0.001581, allocations: 177.3 kB / 164.4 MB, free: 6.863 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.47/1.47, allocations: 205.1 MB / 399.1 MB, free: 6.051 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.001344/0.001344, allocations: 87.45 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.875e-06, allocations: 4 kB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1838, allocations: 76.75 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.596/5.779, allocations: 2.147 GB / 2.768 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/5.78, allocations: 87.95 kB / 2.768 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.6283/6.408, allocations: 76.99 MB / 2.843 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001965/6.408, allocations: 30.25 kB / 2.843 GB, free: 157.2 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004311/6.413, allocations: 1.245 MB / 2.845 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/6.413, allocations: 15.72 kB / 2.845 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/6.416, allocations: 356.9 kB / 2.845 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/6.417, allocations: 0.6228 MB / 2.846 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/6.417, allocations: 35.16 kB / 2.846 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/6.417, allocations: 66.06 kB / 2.846 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002192/6.42, allocations: 1.138 MB / 2.847 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/6.422, allocations: 0.9095 MB / 2.848 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/6.422, allocations: 3.906 kB / 2.848 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/6.422, allocations: 3.906 kB / 2.848 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/6.422, allocations: 27.38 kB / 2.848 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005505/6.427, allocations: 2.803 MB / 2.85 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/6.428, allocations: 0.6973 MB / 2.851 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/6.429, allocations: 278.3 kB / 2.851 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/6.429, allocations: 468.2 kB / 2.852 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000628/6.43, allocations: 427.7 kB / 2.852 GB, free: 153 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 4.309e-06/6.43, allocations: 4 kB / 2.852 GB, free: 153 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.002251/6.432, allocations: 0.7585 MB / 2.853 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/6.432, allocations: 166.6 kB / 2.853 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/6.433, allocations: 0.4902 MB / 2.854 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/6.433, allocations: 29.64 kB / 2.854 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/6.434, allocations: 395.1 kB / 2.854 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/6.434, allocations: 245 kB / 2.854 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/6.434, allocations: 0 / 2.854 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001426/6.434, allocations: 373.1 kB / 2.855 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/6.434, allocations: 216.5 kB / 2.855 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/6.435, allocations: 302.8 kB / 2.855 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/6.436, allocations: 335.1 kB / 2.855 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/6.436, allocations: 4 kB / 2.855 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001959/6.438, allocations: 0.7821 MB / 2.856 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/6.438, allocations: 3.906 kB / 2.856 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/6.438, allocations: 3.938 kB / 2.856 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/6.438, allocations: 82.7 kB / 2.856 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/6.439, allocations: 168 kB / 2.856 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/6.441, allocations: 1.453 MB / 2.858 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/6.442, allocations: 71 kB / 2.858 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/6.442, allocations: 26.83 kB / 2.858 GB, free: 149.8 MB / 0.6355 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.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 (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.0002104/6.442, allocations: 116.2 kB / 2.858 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/6.442, allocations: 74.25 kB / 2.858 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/6.445, allocations: 1.033 MB / 2.859 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/6.445, allocations: 11.8 kB / 2.859 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/6.445, allocations: 3.906 kB / 2.859 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/6.445, allocations: 3.984 kB / 2.859 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/6.446, allocations: 0.8042 MB / 2.86 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/6.446, allocations: 0 / 2.86 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/6.447, allocations: 164.1 kB / 2.86 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/6.447, allocations: 86.66 kB / 2.86 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-05/6.448, allocations: 15.55 kB / 2.86 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/6.449, allocations: 1.478 MB / 2.862 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/6.449, allocations: 64 / 2.862 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001916/6.451, allocations: 0.8552 MB / 2.863 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/6.452, allocations: 282.8 kB / 2.863 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/6.452, allocations: 0 / 2.863 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/6.452, allocations: 59 kB / 2.863 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/6.453, allocations: 47.14 kB / 2.863 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/6.453, allocations: 31.23 kB / 2.863 GB, free: 147 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004829/6.453, allocations: 399.2 kB / 2.863 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001275/6.454, allocations: 371.9 kB / 2.864 GB, free: 146.8 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.002413/6.457, allocations: 1.029 MB / 2.865 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00178/6.459, allocations: 0.6956 MB / 2.865 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/6.459, allocations: 8.875 kB / 2.865 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/6.46, allocations: 463.3 kB / 2.866 GB, free: 146 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/6.461, allocations: 179.5 kB / 2.866 GB, free: 146 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/6.466, allocations: 1.481 MB / 2.867 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/6.467, allocations: 1.179 MB / 2.869 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/6.467, allocations: 0 / 2.869 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.04104/6.508, allocations: 16.9 MB / 2.885 GB, free: 136 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)