Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [: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.0011/0.001101, allocations: 191.4 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.4512/0.4512, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.193/1.193, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.0009398/0.0009399, allocations: 92.22 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.833e-06, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3275, allocations: 72.3 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.363/3.69, allocations: 1.684 GB / 2.237 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/3.691, allocations: 91.94 kB / 2.237 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1359/3.827, allocations: 60.21 MB / 2.296 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001083/3.827, allocations: 27.88 kB / 2.296 GB, free: 68.29 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002785/3.83, allocations: 1.109 MB / 2.297 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/3.83, allocations: 16.02 kB / 2.297 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/3.831, allocations: 194.5 kB / 2.298 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/3.832, allocations: 0.6192 MB / 2.298 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/3.832, allocations: 24 kB / 2.298 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/3.832, allocations: 49.22 kB / 2.298 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001426/3.834, allocations: 1.015 MB / 2.299 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/3.835, allocations: 0.7349 MB / 2.3 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/3.835, allocations: 7.938 kB / 2.3 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/3.835, allocations: 7.984 kB / 2.3 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/3.835, allocations: 20 kB / 2.3 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/3.839, allocations: 2.459 MB / 2.302 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/3.84, allocations: 0.6611 MB / 2.303 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/3.84, allocations: 248.8 kB / 2.303 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.871e-05/3.841, allocations: 36.59 kB / 2.303 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/3.841, allocations: 394.1 kB / 2.304 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/3.841, allocations: 3.938 kB / 2.304 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001614/3.843, allocations: 0.6599 MB / 2.304 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/3.843, allocations: 240 kB / 2.305 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/3.843, allocations: 0.51 MB / 2.305 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/3.843, allocations: 25.7 kB / 2.305 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/3.844, allocations: 300.2 kB / 2.305 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/3.844, allocations: 240.4 kB / 2.306 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/3.844, allocations: 0 / 2.306 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/3.844, allocations: 378.7 kB / 2.306 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/3.844, allocations: 205.3 kB / 2.306 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/3.844, allocations: 302.4 kB / 2.306 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/3.845, allocations: 247.1 kB / 2.307 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/3.845, allocations: 4 kB / 2.307 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001349/3.846, allocations: 0.6756 MB / 2.307 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/3.846, allocations: 12.06 kB / 2.307 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/3.846, allocations: 0 / 2.307 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/3.847, allocations: 77.53 kB / 2.307 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/3.847, allocations: 151.8 kB / 2.308 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/3.849, allocations: 1.457 MB / 2.309 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/3.85, allocations: 67.52 kB / 2.309 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/3.85, allocations: 31.98 kB / 2.309 GB, free: 54.67 MB / 0.6042 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.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 (80): * Single equations (assignments): 79 * 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.0001808/3.85, allocations: 122.9 kB / 2.309 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/3.85, allocations: 75.06 kB / 2.309 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/3.852, allocations: 0.9486 MB / 2.31 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/3.852, allocations: 13.41 kB / 2.31 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/3.852, allocations: 4 kB / 2.31 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/3.852, allocations: 7.891 kB / 2.31 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/3.855, allocations: 1.709 MB / 2.312 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/3.855, allocations: 0 / 2.312 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/3.855, allocations: 151.8 kB / 2.312 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/3.856, allocations: 92.75 kB / 2.312 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/3.856, allocations: 19.92 kB / 2.312 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/3.857, allocations: 1.476 MB / 2.314 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/3.857, allocations: 0 / 2.314 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001382/3.859, allocations: 0.8361 MB / 2.314 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/3.859, allocations: 283.7 kB / 2.315 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/3.859, allocations: 0 / 2.315 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/3.86, allocations: 59.94 kB / 2.315 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/3.86, allocations: 48.7 kB / 2.315 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/3.86, allocations: 38.59 kB / 2.315 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00045/3.861, allocations: 418.9 kB / 2.315 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001083/3.862, allocations: 335.1 kB / 2.316 GB, free: 47.86 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.001603/3.863, allocations: 1.06 MB / 2.317 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001121/3.864, allocations: 0.6742 MB / 2.317 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/3.864, allocations: 0 / 2.317 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/3.865, allocations: 444.7 kB / 2.318 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/3.866, allocations: 210 kB / 2.318 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/3.869, allocations: 1.359 MB / 2.319 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/3.87, allocations: 1.135 MB / 2.32 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/3.87, allocations: 0 / 2.32 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.02602/3.896, allocations: 16.97 MB / 2.337 GB, free: 26.15 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)