Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [: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.6736/0.6736, allocations: 127.4 MB / 134.6 MB, free: 4.094 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: 173.3 kB / 164.4 MB, free: 6.91 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.691/1.691, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001026/0.001026, allocations: 83.14 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.019e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.474/5.666, allocations: 2.148 GB / 2.769 GB, free: 64.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/5.666, allocations: 97.69 kB / 2.769 GB, free: 64.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.4668/6.133, allocations: 65.68 MB / 2.833 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.525e-05/6.133, allocations: 26.56 kB / 2.833 GB, free: 185.5 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.002387/6.135, allocations: 1.232 MB / 2.835 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/6.135, allocations: 7.812 kB / 2.835 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/6.141, allocations: 0.8631 MB / 2.835 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/6.142, allocations: 0.5917 MB / 2.836 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/6.142, allocations: 37.44 kB / 2.836 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/6.142, allocations: 61.66 kB / 2.836 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002332/6.145, allocations: 1.423 MB / 2.838 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/6.146, allocations: 0.9959 MB / 2.838 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/6.146, allocations: 0 / 2.838 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/6.147, allocations: 3.75 kB / 2.839 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/6.147, allocations: 27.09 kB / 2.839 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005882/6.152, allocations: 2.936 MB / 2.841 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/6.154, allocations: 0.926 MB / 2.842 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/6.155, allocations: 437.4 kB / 2.843 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/6.155, allocations: 482.3 kB / 2.843 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/6.156, allocations: 0.5876 MB / 2.844 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=99): time 3.266e-06/6.156, allocations: 0 / 2.844 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99): time 0.002868/6.159, allocations: 1.065 MB / 2.845 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/6.159, allocations: 172.9 kB / 2.845 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/6.16, allocations: 451.9 kB / 2.845 GB, free: 182.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/6.16, allocations: 30.27 kB / 2.845 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/6.16, allocations: 317.1 kB / 2.846 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/6.16, allocations: 317.7 kB / 2.846 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/6.16, allocations: 0 / 2.846 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/6.16, allocations: 377.6 kB / 2.846 GB, free: 182 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/6.161, allocations: 320.3 kB / 2.847 GB, free: 182 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/6.161, allocations: 417.3 kB / 2.847 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/6.163, allocations: 0.4906 MB / 2.848 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/6.163, allocations: 0 / 2.848 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002473/6.165, allocations: 1.07 MB / 2.849 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/6.165, allocations: 3.531 kB / 2.849 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/6.165, allocations: 3.75 kB / 2.849 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/6.166, allocations: 87.77 kB / 2.849 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/6.167, allocations: 253.2 kB / 2.849 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/6.169, allocations: 1.455 MB / 2.85 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/6.17, allocations: 126.2 kB / 2.85 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/6.17, allocations: 38.84 kB / 2.851 GB, free: 180.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.0002234/6.171, allocations: 121.5 kB / 2.851 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/6.171, allocations: 77.88 kB / 2.851 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/6.174, allocations: 1.426 MB / 2.852 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/6.174, allocations: 12.44 kB / 2.852 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/6.174, allocations: 0 / 2.852 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/6.174, allocations: 12.17 kB / 2.852 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/6.176, allocations: 0.9396 MB / 2.853 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/6.176, allocations: 3.906 kB / 2.853 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/6.177, allocations: 257.7 kB / 2.853 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/6.178, allocations: 90.33 kB / 2.853 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/6.178, allocations: 18.55 kB / 2.853 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/6.179, allocations: 1.475 MB / 2.855 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.179, allocations: 0 / 2.855 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002674/6.182, allocations: 1.168 MB / 2.856 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/6.183, allocations: 313.3 kB / 2.856 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/6.183, allocations: 7.719 kB / 2.856 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/6.184, allocations: 112.4 kB / 2.856 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/6.184, allocations: 56.61 kB / 2.856 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/6.184, allocations: 44.53 kB / 2.856 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005878/6.185, allocations: 370.2 kB / 2.857 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001624/6.186, allocations: 357.8 kB / 2.857 GB, free: 178.4 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 (107): * Single equations (assignments): 104 * 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.00182/6.188, allocations: 1.029 MB / 2.858 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002105/6.19, allocations: 0.9763 MB / 2.859 GB, free: 178 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/6.19, allocations: 3.469 kB / 2.859 GB, free: 178 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009884/6.191, allocations: 0.6115 MB / 2.86 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/6.192, allocations: 174.7 kB / 2.86 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/6.197, allocations: 1.53 MB / 2.861 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/6.198, allocations: 1.176 MB / 2.863 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/6.198, allocations: 0 / 2.863 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.03602/6.234, allocations: 20.46 MB / 2.883 GB, free: 175.2 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)