Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.0009526/0.0009527, allocations: 190.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4418/0.4418, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 221.4 MB / 342.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009182, allocations: 99.42 kB / 415.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.971e-06, allocations: 0 / 493.9 MB, free: 6.832 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3971, allocations: 72.3 MB / 0.5529 GB, free: 72.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.701/4.099, allocations: 1.686 GB / 2.238 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/4.099, allocations: 98.47 kB / 2.239 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1503/4.249, allocations: 70.28 MB / 2.307 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001068/4.249, allocations: 28 kB / 2.307 GB, free: 62.18 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003093/4.252, allocations: 1.306 MB / 2.309 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/4.252, allocations: 8.031 kB / 2.309 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/4.257, allocations: 0.771 MB / 2.309 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/4.259, allocations: 0.6786 MB / 2.31 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/4.259, allocations: 32 kB / 2.31 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/4.259, allocations: 64 kB / 2.31 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002608/4.262, allocations: 1.421 MB / 2.311 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/4.264, allocations: 1.02 MB / 2.312 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/4.264, allocations: 3.938 kB / 2.312 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/4.264, allocations: 7.984 kB / 2.312 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/4.264, allocations: 27.91 kB / 2.312 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006414/4.271, allocations: 2.951 MB / 2.315 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/4.272, allocations: 0.9906 MB / 2.316 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/4.273, allocations: 427.4 kB / 2.317 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/4.274, allocations: 478.2 kB / 2.317 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/4.274, allocations: 0.5727 MB / 2.318 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=100): time 5.711e-06/4.274, allocations: 3.938 kB / 2.318 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100): time 0.002707/4.277, allocations: 0.9991 MB / 2.319 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/4.277, allocations: 240.3 kB / 2.319 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/4.278, allocations: 0.5022 MB / 2.319 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/4.279, allocations: 29.7 kB / 2.319 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/4.279, allocations: 336.3 kB / 2.32 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/4.279, allocations: 319.2 kB / 2.32 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/4.279, allocations: 3.656 kB / 2.32 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001264/4.279, allocations: 386.8 kB / 2.32 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/4.28, allocations: 317.9 kB / 2.321 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/4.28, allocations: 438.4 kB / 2.321 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/4.281, allocations: 438.6 kB / 2.322 GB, free: 47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/4.281, allocations: 0 / 2.322 GB, free: 47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002336/4.284, allocations: 1.011 MB / 2.323 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/4.284, allocations: 4 kB / 2.323 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/4.284, allocations: 0 / 2.323 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/4.284, allocations: 84.88 kB / 2.323 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/4.286, allocations: 247.7 kB / 2.323 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/4.288, allocations: 1.461 MB / 2.324 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/4.289, allocations: 135.4 kB / 2.324 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/4.289, allocations: 35.97 kB / 2.324 GB, free: 43.89 MB / 0.6042 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0002754/4.289, allocations: 124.7 kB / 2.325 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/4.29, allocations: 79.06 kB / 2.325 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/4.293, allocations: 1.361 MB / 2.326 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/4.293, allocations: 11.98 kB / 2.326 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/4.293, allocations: 0 / 2.326 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/4.293, allocations: 11.97 kB / 2.326 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/4.297, allocations: 2.354 MB / 2.328 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/4.297, allocations: 0 / 2.328 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/4.299, allocations: 255.6 kB / 2.329 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/4.299, allocations: 84.77 kB / 2.329 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/4.3, allocations: 19.98 kB / 2.329 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/4.301, allocations: 1.484 MB / 2.33 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/4.301, allocations: 0 / 2.33 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002414/4.304, allocations: 1.189 MB / 2.331 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/4.304, allocations: 315.6 kB / 2.332 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/4.304, allocations: 4 kB / 2.332 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/4.306, allocations: 115.9 kB / 2.332 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/4.306, allocations: 64.89 kB / 2.332 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.994e-05/4.306, allocations: 39.98 kB / 2.332 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000548/4.307, allocations: 406.9 kB / 2.332 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001404/4.308, allocations: 406.8 kB / 2.333 GB, free: 35.39 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * 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.002017/4.31, allocations: 1.085 MB / 2.334 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001777/4.312, allocations: 0.9712 MB / 2.335 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/4.312, allocations: 0 / 2.335 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/4.313, allocations: 0.6264 MB / 2.335 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/4.314, allocations: 210.2 kB / 2.335 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/4.318, allocations: 1.615 MB / 2.337 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/4.32, allocations: 1.222 MB / 2.338 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/4.32, allocations: 4 kB / 2.338 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.03266/4.352, allocations: 21.3 MB / 2.359 GB, free: 8.484 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)