Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") [: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.707/0.707, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001744/0.001744, allocations: 189.2 kB / 164.4 MB, free: 6.879 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.624/1.624, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.001157/0.001157, allocations: 78.95 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.334e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1877, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.492/5.68, allocations: 2.146 GB / 2.767 GB, free: 66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/5.681, allocations: 89.41 kB / 2.767 GB, free: 65.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1107/5.792, allocations: 53.71 MB / 2.82 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.892e-05/5.792, allocations: 23.94 kB / 2.82 GB, free: 11.89 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001886/5.793, allocations: 1.063 MB / 2.821 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/5.794, allocations: 12.03 kB / 2.821 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/5.796, allocations: 394.2 kB / 2.821 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/5.797, allocations: 0.5335 MB / 2.822 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/5.797, allocations: 24 kB / 2.822 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/5.797, allocations: 52 kB / 2.822 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001446/5.798, allocations: 1.015 MB / 2.823 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/5.8, allocations: 0.738 MB / 2.823 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/5.8, allocations: 11.94 kB / 2.823 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/5.8, allocations: 0 / 2.823 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/5.8, allocations: 23.98 kB / 2.823 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/5.803, allocations: 2.523 MB / 2.826 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/5.804, allocations: 0.7777 MB / 2.827 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/5.805, allocations: 262.8 kB / 2.827 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006245/5.805, allocations: 474.1 kB / 2.827 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/5.806, allocations: 406.8 kB / 2.828 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 2.855e-06/5.806, allocations: 0 / 2.828 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.001914/5.808, allocations: 0.7224 MB / 2.828 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/5.808, allocations: 166.9 kB / 2.829 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/5.808, allocations: 449.4 kB / 2.829 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/5.808, allocations: 29.7 kB / 2.829 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/5.809, allocations: 296.1 kB / 2.829 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/5.809, allocations: 232.5 kB / 2.829 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/5.809, allocations: 4 kB / 2.829 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/5.809, allocations: 366.7 kB / 2.83 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/5.809, allocations: 201.3 kB / 2.83 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/5.809, allocations: 298.4 kB / 2.83 GB, free: 464 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/5.81, allocations: 319 kB / 2.831 GB, free: 148 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.81, allocations: 4 kB / 2.831 GB, free: 144 kB / 0.6355 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.339/6.149, allocations: 0.742 MB / 2.831 GB, free: 258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/6.149, allocations: 7.359 kB / 2.831 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/6.149, allocations: 7.109 kB / 2.831 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/6.15, allocations: 77.94 kB / 2.831 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/6.151, allocations: 163.2 kB / 2.832 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/6.153, allocations: 1.447 MB / 2.833 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000866/6.154, allocations: 68.22 kB / 2.833 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/6.154, allocations: 37.03 kB / 2.833 GB, free: 256.8 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 (79): * Single equations (assignments): 78 * 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.0002383/6.154, allocations: 111.8 kB / 2.833 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/6.154, allocations: 74.88 kB / 2.833 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/6.157, allocations: 0.9822 MB / 2.834 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/6.157, allocations: 10.69 kB / 2.834 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/6.157, allocations: 0 / 2.834 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/6.157, allocations: 7.375 kB / 2.834 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/6.16, allocations: 1.783 MB / 2.836 GB, free: 256.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/6.16, allocations: 0 / 2.836 GB, free: 256.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/6.161, allocations: 160.8 kB / 2.836 GB, free: 256.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/6.162, allocations: 89.95 kB / 2.836 GB, free: 256.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/6.162, allocations: 14.19 kB / 2.836 GB, free: 256.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/6.163, allocations: 1.476 MB / 2.838 GB, free: 255 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/6.163, allocations: 3.828 kB / 2.838 GB, free: 255 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00184/6.165, allocations: 0.8914 MB / 2.839 GB, free: 254.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/6.165, allocations: 275.8 kB / 2.839 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/6.166, allocations: 0 / 2.839 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/6.166, allocations: 67.81 kB / 2.839 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/6.166, allocations: 42.45 kB / 2.839 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/6.166, allocations: 34.28 kB / 2.839 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003897/6.167, allocations: 359.5 kB / 2.839 GB, free: 254.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001124/6.168, allocations: 323.6 kB / 2.84 GB, free: 254.6 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 (82): * Single equations (assignments): 79 * 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.001693/6.17, allocations: 1.018 MB / 2.841 GB, free: 254.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001267/6.171, allocations: 0.666 MB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/6.171, allocations: 3.25 kB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/6.172, allocations: 443.9 kB / 2.842 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008507/6.172, allocations: 189.2 kB / 2.842 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/6.176, allocations: 1.275 MB / 2.843 GB, free: 254 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007184/6.177, allocations: 1.097 MB / 2.844 GB, free: 253.3 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/6.177, allocations: 0 / 2.844 GB, free: 253.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.02515/6.202, allocations: 16.64 MB / 2.86 GB, free: 252.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)