Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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.9034/0.9034, allocations: 127.4 MB / 134.6 MB, free: 4.121 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.001025/0.001025, allocations: 177.3 kB / 164.4 MB, free: 6.895 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.569/1.569, 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.001222/0.001222, allocations: 85.03 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.876e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.517/5.709, allocations: 2.147 GB / 2.768 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/5.709, allocations: 95.94 kB / 2.768 GB, free: 66.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1257/5.835, allocations: 59.95 MB / 2.826 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.029e-05/5.835, allocations: 24 kB / 2.826 GB, free: 5.848 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001872/5.837, allocations: 1.047 MB / 2.827 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/5.837, allocations: 8.031 kB / 2.827 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/5.839, allocations: 346.3 kB / 2.828 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/5.84, allocations: 0.5335 MB / 2.828 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/5.84, allocations: 28 kB / 2.828 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/5.84, allocations: 44 kB / 2.828 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/5.841, allocations: 1.011 MB / 2.829 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/5.842, allocations: 0.7082 MB / 2.83 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/5.843, allocations: 0 / 2.83 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/5.843, allocations: 4 kB / 2.83 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/5.843, allocations: 20 kB / 2.83 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3036/6.146, allocations: 2.27 MB / 2.832 GB, free: 264.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/6.148, allocations: 0.7459 MB / 2.833 GB, free: 264.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/6.149, allocations: 265.6 kB / 2.833 GB, free: 264.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/6.149, allocations: 471.8 kB / 2.834 GB, free: 263.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/6.15, allocations: 417.2 kB / 2.834 GB, free: 263.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.276e-06/6.15, allocations: 2.125 kB / 2.834 GB, free: 263.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002055/6.152, allocations: 0.728 MB / 2.835 GB, free: 263.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/6.152, allocations: 175.9 kB / 2.835 GB, free: 263.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/6.152, allocations: 444.8 kB / 2.835 GB, free: 263.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/6.153, allocations: 28.27 kB / 2.835 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/6.153, allocations: 275.2 kB / 2.836 GB, free: 263.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/6.153, allocations: 232.1 kB / 2.836 GB, free: 263.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/6.153, allocations: 0 / 2.836 GB, free: 263.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/6.153, allocations: 366.8 kB / 2.836 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/6.153, allocations: 206.4 kB / 2.836 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/6.154, allocations: 279.2 kB / 2.837 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/6.155, allocations: 325 kB / 2.837 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/6.155, allocations: 3.75 kB / 2.837 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001824/6.156, allocations: 0.7444 MB / 2.838 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/6.156, allocations: 7.75 kB / 2.838 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/6.156, allocations: 0 / 2.838 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/6.157, allocations: 86.45 kB / 2.838 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/6.158, allocations: 156.7 kB / 2.838 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/6.16, allocations: 1.463 MB / 2.839 GB, free: 261.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/6.16, allocations: 64.34 kB / 2.839 GB, free: 261.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/6.161, allocations: 26.23 kB / 2.839 GB, free: 261.5 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 (75): * Single equations (assignments): 74 * 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.0001922/6.161, allocations: 115.6 kB / 2.839 GB, free: 261.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/6.161, allocations: 73.67 kB / 2.84 GB, free: 261.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/6.164, allocations: 1.017 MB / 2.841 GB, free: 261.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/6.164, allocations: 11.72 kB / 2.841 GB, free: 261.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/6.164, allocations: 0 / 2.841 GB, free: 261.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/6.164, allocations: 5.703 kB / 2.841 GB, free: 261.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/6.165, allocations: 0.7254 MB / 2.841 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/6.165, allocations: 1.312 kB / 2.841 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/6.166, allocations: 160.1 kB / 2.841 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/6.167, allocations: 86.33 kB / 2.841 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/6.167, allocations: 18.2 kB / 2.841 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/6.168, allocations: 1.482 MB / 2.843 GB, free: 259.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/6.168, allocations: 0 / 2.843 GB, free: 259.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002007/6.17, allocations: 0.8207 MB / 2.844 GB, free: 259.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/6.171, allocations: 280.7 kB / 2.844 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/6.171, allocations: 5.594 kB / 2.844 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/6.172, allocations: 65.28 kB / 2.844 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/6.172, allocations: 44.28 kB / 2.844 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/6.172, allocations: 31.33 kB / 2.844 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004117/6.172, allocations: 364.5 kB / 2.844 GB, free: 259.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001058/6.173, allocations: 317.4 kB / 2.845 GB, free: 259.5 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 (81): * Single equations (assignments): 78 * 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.001588/6.175, allocations: 1.033 MB / 2.846 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001227/6.176, allocations: 0.6681 MB / 2.846 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/6.176, allocations: 3.312 kB / 2.846 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/6.177, allocations: 452.1 kB / 2.847 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/6.178, allocations: 165.6 kB / 2.847 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/6.181, allocations: 1.273 MB / 2.848 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/6.182, allocations: 1.092 MB / 2.849 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/6.182, allocations: 0 / 2.849 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.02629/6.208, allocations: 16.68 MB / 2.866 GB, free: 257 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)