Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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.001591/0.001591, allocations: 191.5 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4678/0.4678, allocations: 90.85 MB / 99.07 MB, free: 14.9 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.169/1.169, allocations: 221.4 MB / 342.7 MB, free: 5.16 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.0009248/0.0009248, allocations: 98.34 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.144e-06/7.174e-06, allocations: 0 / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3477, allocations: 72.3 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.471/3.818, allocations: 1.683 GB / 2.236 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/3.819, allocations: 97.53 kB / 2.236 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1343/3.953, allocations: 59.8 MB / 2.295 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001212/3.953, allocations: 27.94 kB / 2.295 GB, free: 54.51 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003131/3.956, allocations: 1.109 MB / 2.296 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/3.957, allocations: 8.031 kB / 2.296 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/3.958, allocations: 194.6 kB / 2.296 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/3.96, allocations: 0.6191 MB / 2.297 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/3.96, allocations: 24 kB / 2.297 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/3.96, allocations: 48 kB / 2.297 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001721/3.962, allocations: 0.9796 MB / 2.298 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/3.963, allocations: 0.7233 MB / 2.298 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/3.963, allocations: 4 kB / 2.298 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/3.963, allocations: 7.984 kB / 2.298 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/3.963, allocations: 20 kB / 2.298 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/3.968, allocations: 2.27 MB / 2.301 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/3.969, allocations: 0.7245 MB / 2.301 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/3.969, allocations: 240.2 kB / 2.302 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/3.969, allocations: 36.67 kB / 2.302 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/3.97, allocations: 370.1 kB / 2.302 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 4.519e-06/3.97, allocations: 4 kB / 2.302 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001697/3.972, allocations: 0.6403 MB / 2.303 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/3.972, allocations: 240 kB / 2.303 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/3.972, allocations: 0.4984 MB / 2.303 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/3.972, allocations: 25.7 kB / 2.303 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/3.973, allocations: 304.1 kB / 2.304 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/3.973, allocations: 236.5 kB / 2.304 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/3.973, allocations: 0 / 2.304 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001189/3.973, allocations: 374.7 kB / 2.304 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/3.973, allocations: 185.3 kB / 2.304 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/3.974, allocations: 299.3 kB / 2.305 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/3.974, allocations: 235 kB / 2.305 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/3.974, allocations: 4 kB / 2.305 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001465/3.976, allocations: 0.6443 MB / 2.306 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/3.976, allocations: 4.094 kB / 2.306 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/3.976, allocations: 4 kB / 2.306 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/3.976, allocations: 92.75 kB / 2.306 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/3.977, allocations: 135.8 kB / 2.306 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/3.979, allocations: 1.457 MB / 2.307 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/3.98, allocations: 63.61 kB / 2.307 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/3.98, allocations: 27.98 kB / 2.307 GB, free: 41.22 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 (76): * Single equations (assignments): 75 * 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.0002158/3.98, allocations: 120.8 kB / 2.307 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/3.98, allocations: 75.14 kB / 2.307 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/3.982, allocations: 0.9206 MB / 2.308 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/3.982, allocations: 11.98 kB / 2.308 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/3.982, allocations: 7.984 kB / 2.308 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/3.982, allocations: 7.922 kB / 2.308 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/3.986, allocations: 1.69 MB / 2.31 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/3.986, allocations: 3.906 kB / 2.31 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/3.987, allocations: 155.8 kB / 2.31 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/3.987, allocations: 80.78 kB / 2.31 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.615e-05/3.987, allocations: 15.98 kB / 2.31 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/3.989, allocations: 1.469 MB / 2.312 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.989, allocations: 4.062 kB / 2.312 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001436/3.99, allocations: 0.8204 MB / 2.313 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/3.991, allocations: 283.8 kB / 2.313 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/3.991, allocations: 0 / 2.313 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/3.992, allocations: 59.88 kB / 2.313 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/3.992, allocations: 52.7 kB / 2.313 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/3.992, allocations: 31.98 kB / 2.313 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004859/3.992, allocations: 410.8 kB / 2.313 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001267/3.993, allocations: 331.1 kB / 2.314 GB, free: 34.47 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 (87): * Single equations (assignments): 84 * 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.002045/3.996, allocations: 1.042 MB / 2.315 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001251/3.997, allocations: 0.6431 MB / 2.315 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/3.997, allocations: 4 kB / 2.315 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/3.997, allocations: 448.5 kB / 2.316 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/3.998, allocations: 215.8 kB / 2.316 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/4.002, allocations: 1.337 MB / 2.317 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007636/4.003, allocations: 1.119 MB / 2.318 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/4.003, allocations: 0 / 2.318 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of Templates: time 0.02778/4.031, allocations: 16.65 MB / 2.335 GB, free: 13.09 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)