Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.094/2.094, allocations: 253.1 MB / 260.4 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 189.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001333/0.001332, allocations: 95.38 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.708e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2136, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.525/5.739, allocations: 2.191 GB / 3.08 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/5.739, allocations: 83.77 kB / 3.08 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3972/6.136, allocations: 92.77 MB / 3.17 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001178/6.137, allocations: 39.92 kB / 3.17 GB, free: 80.62 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003824/6.14, allocations: 1.406 MB / 3.172 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/6.14, allocations: 8.031 kB / 3.172 GB, free: 79.15 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/6.142, allocations: 257.8 kB / 3.172 GB, free: 78.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/6.145, allocations: 0.7754 MB / 3.173 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/6.145, allocations: 48 kB / 3.173 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/6.145, allocations: 76 kB / 3.173 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0037/6.149, allocations: 1.34 MB / 3.174 GB, free: 76.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/6.152, allocations: 1.144 MB / 3.175 GB, free: 75.42 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/6.152, allocations: 0 / 3.175 GB, free: 75.42 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/6.153, allocations: 0 / 3.175 GB, free: 75.42 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/6.153, allocations: 39.91 kB / 3.175 GB, free: 75.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/6.163, allocations: 3.749 MB / 3.179 GB, free: 71.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/6.167, allocations: 0.8628 MB / 3.18 GB, free: 70.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009154/6.167, allocations: 347.7 kB / 3.18 GB, free: 70.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/6.168, allocations: 48.91 kB / 3.18 GB, free: 70.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/6.169, allocations: 0.5185 MB / 3.181 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 4.919e-06/6.169, allocations: 0 / 3.181 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.00363/6.173, allocations: 0.8974 MB / 3.181 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/6.173, allocations: 248.3 kB / 3.182 GB, free: 68.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/6.174, allocations: 0.6132 MB / 3.182 GB, free: 67.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/6.175, allocations: 25.7 kB / 3.182 GB, free: 67.82 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/6.175, allocations: 467.5 kB / 3.183 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/6.175, allocations: 331 kB / 3.183 GB, free: 67.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/6.175, allocations: 0 / 3.183 GB, free: 67.03 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001454/6.176, allocations: 398.6 kB / 3.183 GB, free: 66.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/6.176, allocations: 301.9 kB / 3.184 GB, free: 66.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/6.177, allocations: 425.5 kB / 3.184 GB, free: 65.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/6.179, allocations: 366.8 kB / 3.185 GB, free: 65.54 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/6.179, allocations: 0 / 3.185 GB, free: 65.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0036/6.182, allocations: 0.9561 MB / 3.185 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/6.182, allocations: 4 kB / 3.185 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/6.182, allocations: 8 kB / 3.185 GB, free: 64.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/6.183, allocations: 88.77 kB / 3.186 GB, free: 64.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/6.185, allocations: 215.7 kB / 3.186 GB, free: 64.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/6.188, allocations: 1.464 MB / 3.187 GB, free: 62.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/6.19, allocations: 83.3 kB / 3.187 GB, free: 62.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/6.19, allocations: 43.97 kB / 3.187 GB, free: 62.54 MB / 0.8698 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 (116): * Single equations (assignments): 115 * 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.000313/6.191, allocations: 120.8 kB / 3.187 GB, free: 62.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/6.191, allocations: 106.8 kB / 3.188 GB, free: 62.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00543/6.196, allocations: 1.303 MB / 3.189 GB, free: 61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/6.196, allocations: 11.94 kB / 3.189 GB, free: 60.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/6.196, allocations: 4 kB / 3.189 GB, free: 60.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/6.196, allocations: 7.969 kB / 3.189 GB, free: 60.97 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0062/6.203, allocations: 2.344 MB / 3.191 GB, free: 58.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/6.203, allocations: 0 / 3.191 GB, free: 58.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/6.204, allocations: 191.8 kB / 3.191 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/6.205, allocations: 88.77 kB / 3.191 GB, free: 58.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/6.205, allocations: 19.92 kB / 3.191 GB, free: 58.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/6.208, allocations: 1.488 MB / 3.193 GB, free: 56.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/6.208, allocations: 0 / 3.193 GB, free: 56.67 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003323/6.211, allocations: 1.056 MB / 3.194 GB, free: 55.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/6.212, allocations: 351.3 kB / 3.194 GB, free: 55.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/6.212, allocations: 8 kB / 3.194 GB, free: 55.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/6.214, allocations: 55.94 kB / 3.194 GB, free: 55.17 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/6.214, allocations: 64.89 kB / 3.194 GB, free: 55.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/6.214, allocations: 47.89 kB / 3.194 GB, free: 55.06 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009545/6.215, allocations: 0.5069 MB / 3.195 GB, free: 54.56 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001668/6.217, allocations: 410.5 kB / 3.195 GB, free: 54.16 MB / 0.8698 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 (115): * Single equations (assignments): 112 * 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.00202/6.219, allocations: 1.005 MB / 3.196 GB, free: 53.26 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002602/6.221, allocations: 0.9086 MB / 3.197 GB, free: 52.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/6.221, allocations: 128 / 3.197 GB, free: 52.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/6.223, allocations: 0.556 MB / 3.198 GB, free: 51.78 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/6.225, allocations: 229 kB / 3.198 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/6.232, allocations: 1.83 MB / 3.2 GB, free: 49.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/6.234, allocations: 1.32 MB / 3.201 GB, free: 48.34 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/6.234, allocations: 0 / 3.201 GB, free: 48.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.0506/6.284, allocations: 19.91 MB / 3.22 GB, free: 28.54 MB / 0.8698 GB