Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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.6755/0.6755, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001211/0.001211, allocations: 181.3 kB / 164.4 MB, free: 6.898 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.274/1.274, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.0009125/0.0009125, allocations: 98.67 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.171e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.354/5.517, allocations: 2.151 GB / 2.772 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/5.517, allocations: 87.94 kB / 2.772 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.723/6.24, allocations: 96.26 MB / 2.866 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002483/6.241, allocations: 45.34 kB / 2.866 GB, free: 150.4 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.007699/6.248, allocations: 1.905 MB / 2.868 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/6.248, allocations: 8.156 kB / 2.868 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/6.264, allocations: 2.162 MB / 2.87 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/6.27, allocations: 0.9489 MB / 2.871 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/6.27, allocations: 64.58 kB / 2.871 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/6.271, allocations: 110.1 kB / 2.871 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01036/6.282, allocations: 2.796 MB / 2.874 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/6.292, allocations: 2.07 MB / 2.876 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.92e-05/6.292, allocations: 1.375 kB / 2.876 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009059/6.293, allocations: 1.5 kB / 2.876 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.617e-05/6.293, allocations: 44.53 kB / 2.876 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/6.315, allocations: 6.186 MB / 2.882 GB, free: 143 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005415/6.321, allocations: 1.865 MB / 2.883 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/6.324, allocations: 1.004 MB / 2.884 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/6.325, allocations: 0.5012 MB / 2.885 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003492/6.328, allocations: 1.257 MB / 2.886 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=192): time 1.603e-05/6.328, allocations: 0 / 2.886 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192): time 0.007461/6.336, allocations: 2.242 MB / 2.888 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/6.336, allocations: 180.2 kB / 2.889 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/6.337, allocations: 0.6015 MB / 2.889 GB, free: 137.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/6.337, allocations: 29.7 kB / 2.889 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/6.338, allocations: 0.5085 MB / 2.89 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000553/6.338, allocations: 0.5963 MB / 2.89 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/6.338, allocations: 0 / 2.89 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001472/6.338, allocations: 414.7 kB / 2.891 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/6.34, allocations: 0.7577 MB / 2.891 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/6.341, allocations: 0.9087 MB / 2.892 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/6.343, allocations: 1.064 MB / 2.893 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/6.343, allocations: 0 / 2.893 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005174/6.348, allocations: 2.293 MB / 2.896 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/6.349, allocations: 4 kB / 2.896 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/6.349, allocations: 4 kB / 2.896 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/6.349, allocations: 84.91 kB / 2.896 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/6.353, allocations: 0.5734 MB / 2.896 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/6.355, allocations: 1.449 MB / 2.898 GB, free: 129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/6.358, allocations: 290.5 kB / 2.898 GB, free: 128.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/6.359, allocations: 87.89 kB / 2.898 GB, free: 128.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0005404/6.359, allocations: 128.7 kB / 2.898 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/6.36, allocations: 126.4 kB / 2.898 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/6.367, allocations: 2.928 MB / 2.901 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/6.367, allocations: 20 kB / 2.901 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/6.367, allocations: 0 / 2.901 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/6.367, allocations: 7.969 kB / 2.901 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009123/6.376, allocations: 4.787 MB / 2.906 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/6.376, allocations: 3.906 kB / 2.906 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/6.38, allocations: 0.55 MB / 2.906 GB, free: 120 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/6.381, allocations: 80.78 kB / 2.906 GB, free: 120 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/6.381, allocations: 55.84 kB / 2.906 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/6.383, allocations: 1.469 MB / 2.908 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.383, allocations: 0 / 2.908 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005429/6.388, allocations: 2.426 MB / 2.91 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/6.389, allocations: 0.522 MB / 2.911 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/6.389, allocations: 7.984 kB / 2.911 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/6.392, allocations: 231.7 kB / 2.911 GB, free: 115.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/6.393, allocations: 105.7 kB / 2.911 GB, free: 115 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/6.393, allocations: 83.92 kB / 2.911 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007017/6.393, allocations: 0.503 MB / 2.912 GB, free: 114.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002275/6.396, allocations: 0.5412 MB / 2.912 GB, free: 113.9 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 (202): * Single equations (assignments): 199 * 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.001996/6.398, allocations: 1.03 MB / 2.913 GB, free: 113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003633/6.401, allocations: 2.097 MB / 2.915 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/6.401, allocations: 0 / 2.915 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/6.403, allocations: 1.216 MB / 2.916 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/6.405, allocations: 188.4 kB / 2.917 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/6.412, allocations: 2.675 MB / 2.919 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/6.415, allocations: 1.585 MB / 2.921 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.743e-06/6.415, allocations: 3.938 kB / 2.921 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.06164/6.476, allocations: 35.38 MB / 2.955 GB, free: 69.84 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)