Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [: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.177/2.177, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001684/0.001683, allocations: 188.5 kB / 319.6 MB, free: 3.324 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 2.038/2.038, 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.002376/0.002375, allocations: 102.6 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.086e-05/1.105e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 106.3 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.656/5.932, allocations: 2.19 GB / 3.078 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/5.932, allocations: 86.52 kB / 3.078 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3833/6.316, allocations: 90.49 MB / 3.166 GB, free: 84.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001782/6.316, allocations: 47.92 kB / 3.166 GB, free: 84.7 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.004662/6.321, allocations: 1.672 MB / 3.168 GB, free: 82.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/6.321, allocations: 8.031 kB / 3.168 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/6.324, allocations: 393.4 kB / 3.168 GB, free: 82.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/6.328, allocations: 1.011 MB / 3.169 GB, free: 81.51 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/6.328, allocations: 47.91 kB / 3.169 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/6.328, allocations: 72 kB / 3.169 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00469/6.333, allocations: 1.875 MB / 3.171 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/6.336, allocations: 1.254 MB / 3.172 GB, free: 78.17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/6.336, allocations: 3.984 kB / 3.172 GB, free: 78.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/6.336, allocations: 4 kB / 3.172 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/6.336, allocations: 32 kB / 3.173 GB, free: 78.13 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/6.349, allocations: 4.24 MB / 3.177 GB, free: 73.81 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/6.352, allocations: 1.263 MB / 3.178 GB, free: 72.53 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/6.354, allocations: 477.5 kB / 3.178 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/6.354, allocations: 61.36 kB / 3.178 GB, free: 72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/6.356, allocations: 0.7005 MB / 3.179 GB, free: 71.28 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 4.759e-06/6.356, allocations: 0 / 3.179 GB, free: 71.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.005434/6.361, allocations: 1.229 MB / 3.18 GB, free: 70.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/6.361, allocations: 462.2 kB / 3.181 GB, free: 69.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/6.363, allocations: 0.9103 MB / 3.182 GB, free: 68.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002923/6.364, allocations: 37.7 kB / 3.182 GB, free: 68.51 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/6.364, allocations: 436.7 kB / 3.182 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/6.365, allocations: 433.5 kB / 3.182 GB, free: 67.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/6.365, allocations: 0 / 3.182 GB, free: 67.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001068/6.365, allocations: 353.9 kB / 3.183 GB, free: 67.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/6.366, allocations: 370.5 kB / 3.183 GB, free: 66.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/6.367, allocations: 0.5814 MB / 3.184 GB, free: 66.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/6.369, allocations: 490.1 kB / 3.184 GB, free: 65.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/6.369, allocations: 0 / 3.184 GB, free: 65.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005234/6.374, allocations: 1.271 MB / 3.185 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/6.374, allocations: 4 kB / 3.185 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/6.374, allocations: 3.984 kB / 3.185 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/6.376, allocations: 173.8 kB / 3.186 GB, free: 64.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/6.378, allocations: 279.5 kB / 3.186 GB, free: 64.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/6.384, allocations: 2.922 MB / 3.189 GB, free: 60.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/6.386, allocations: 131.1 kB / 3.189 GB, free: 60.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/6.386, allocations: 51.97 kB / 3.189 GB, free: 60.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004365/6.387, allocations: 152.2 kB / 3.189 GB, free: 60.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/6.387, allocations: 138.3 kB / 3.189 GB, free: 60.42 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008094/6.395, allocations: 1.884 MB / 3.191 GB, free: 58.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/6.395, allocations: 19.94 kB / 3.191 GB, free: 58.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/6.395, allocations: 0 / 3.191 GB, free: 58.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/6.395, allocations: 7.969 kB / 3.191 GB, free: 58.49 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/6.398, allocations: 1.321 MB / 3.192 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/6.398, allocations: 4 kB / 3.192 GB, free: 57.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/6.401, allocations: 279.6 kB / 3.193 GB, free: 56.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/6.403, allocations: 169.5 kB / 3.193 GB, free: 56.69 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003401/6.403, allocations: 27.97 kB / 3.193 GB, free: 56.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005207/6.409, allocations: 2.98 MB / 3.196 GB, free: 53.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/6.409, allocations: 0 / 3.196 GB, free: 53.44 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005618/6.414, allocations: 1.456 MB / 3.197 GB, free: 51.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/6.416, allocations: 470.6 kB / 3.198 GB, free: 51.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/6.416, allocations: 7.984 kB / 3.198 GB, free: 51.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/6.418, allocations: 115.9 kB / 3.198 GB, free: 51.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/6.419, allocations: 97.41 kB / 3.198 GB, free: 51.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/6.419, allocations: 63.95 kB / 3.198 GB, free: 51.19 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001597/6.421, allocations: 0.7114 MB / 3.199 GB, free: 50.47 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002728/6.423, allocations: 470.7 kB / 3.199 GB, free: 50.01 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002519/6.426, allocations: 1.088 MB / 3.2 GB, free: 49.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003863/6.43, allocations: 1.27 MB / 3.201 GB, free: 47.75 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/6.43, allocations: 4 kB / 3.201 GB, free: 47.74 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/6.432, allocations: 0.8644 MB / 3.202 GB, free: 46.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/6.436, allocations: 425 kB / 3.203 GB, free: 46.44 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/6.448, allocations: 2.531 MB / 3.205 GB, free: 43.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/6.45, allocations: 1.505 MB / 3.207 GB, free: 42.32 MB / 0.8698 GB Notification: Performance of SimCode: time 1.924e-06/6.45, allocations: 0 / 3.207 GB, free: 42.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.07429/6.525, allocations: 28.25 MB / 3.234 GB, free: 14.23 MB / 0.8698 GB