Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.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.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins") [: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.171/2.171, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.00175/0.00175, allocations: 185.2 kB / 319.6 MB, free: 3.328 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.944/1.944, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001236/0.001236, allocations: 93.83 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.099e-05/1.115e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.3 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/5.72, allocations: 2.197 GB / 3.085 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/5.72, allocations: 86.02 kB / 3.085 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2821/6.002, allocations: 75.83 MB / 3.159 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001081/6.002, allocations: 28 kB / 3.159 GB, free: 96.29 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003754/6.006, allocations: 1.358 MB / 3.16 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/6.006, allocations: 8.031 kB / 3.16 GB, free: 94.87 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/6.023, allocations: 1.535 MB / 3.162 GB, free: 93.33 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/6.025, allocations: 0.8793 MB / 3.162 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/6.026, allocations: 40 kB / 3.163 GB, free: 92.37 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/6.026, allocations: 71.98 kB / 3.163 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005971/6.032, allocations: 2.081 MB / 3.165 GB, free: 90.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/6.037, allocations: 1.516 MB / 3.166 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/6.037, allocations: 0 / 3.166 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/6.037, allocations: 0 / 3.166 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/6.037, allocations: 28 kB / 3.166 GB, free: 88.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/6.052, allocations: 4.489 MB / 3.171 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/6.058, allocations: 1.944 MB / 3.172 GB, free: 82.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/6.06, allocations: 0.7652 MB / 3.173 GB, free: 81.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/6.061, allocations: 0.6024 MB / 3.174 GB, free: 80.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002743/6.064, allocations: 1.01 MB / 3.175 GB, free: 79.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 6.052e-06/6.064, allocations: 0 / 3.175 GB, free: 79.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.006575/6.07, allocations: 1.682 MB / 3.176 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/6.071, allocations: 248.3 kB / 3.177 GB, free: 77.56 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/6.072, allocations: 0.5974 MB / 3.177 GB, free: 76.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004715/6.072, allocations: 29.7 kB / 3.177 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/6.073, allocations: 368.5 kB / 3.178 GB, free: 76.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/6.073, allocations: 386.2 kB / 3.178 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/6.074, allocations: 3.938 kB / 3.178 GB, free: 76.17 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001981/6.074, allocations: 398.7 kB / 3.178 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/6.076, allocations: 0.682 MB / 3.179 GB, free: 75.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/6.078, allocations: 0.8178 MB / 3.18 GB, free: 74.24 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/6.081, allocations: 0.71 MB / 3.18 GB, free: 73.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/6.081, allocations: 3.906 kB / 3.18 GB, free: 73.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006453/6.087, allocations: 1.705 MB / 3.182 GB, free: 71.81 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/6.087, allocations: 8 kB / 3.182 GB, free: 71.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/6.087, allocations: 0 / 3.182 GB, free: 71.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/6.089, allocations: 84.88 kB / 3.182 GB, free: 71.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/6.094, allocations: 499.3 kB / 3.183 GB, free: 71.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/6.097, allocations: 1.473 MB / 3.184 GB, free: 69.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/6.101, allocations: 323 kB / 3.184 GB, free: 69.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004365/6.102, allocations: 55.94 kB / 3.185 GB, free: 69.25 MB / 0.8698 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 (126): * Single equations (assignments): 125 * 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.0005037/6.102, allocations: 127.2 kB / 3.185 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/6.103, allocations: 90.88 kB / 3.185 GB, free: 69.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008669/6.111, allocations: 2.18 MB / 3.187 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/6.111, allocations: 16 kB / 3.187 GB, free: 66.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/6.111, allocations: 0 / 3.187 GB, free: 66.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/6.111, allocations: 11.88 kB / 3.187 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/6.122, allocations: 3.832 MB / 3.191 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/6.122, allocations: 0 / 3.191 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004984/6.127, allocations: 499.4 kB / 3.191 GB, free: 62.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000962/6.128, allocations: 84.78 kB / 3.191 GB, free: 62.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/6.128, allocations: 31.94 kB / 3.191 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/6.131, allocations: 1.492 MB / 3.193 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/6.131, allocations: 144 / 3.193 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006007/6.137, allocations: 1.877 MB / 3.194 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/6.138, allocations: 467.2 kB / 3.195 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/6.139, allocations: 3.938 kB / 3.195 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004143/6.143, allocations: 299.7 kB / 3.195 GB, free: 58.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/6.143, allocations: 69.2 kB / 3.195 GB, free: 57.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/6.143, allocations: 60 kB / 3.195 GB, free: 57.92 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009139/6.144, allocations: 495.1 kB / 3.196 GB, free: 57.44 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002089/6.146, allocations: 474.7 kB / 3.196 GB, free: 56.97 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 (135): * Single equations (assignments): 132 * 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.002187/6.149, allocations: 1.041 MB / 3.197 GB, free: 56.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004784/6.153, allocations: 1.74 MB / 3.199 GB, free: 54.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/6.153, allocations: 4.188 kB / 3.199 GB, free: 54.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002588/6.156, allocations: 1.01 MB / 3.2 GB, free: 53.26 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/6.158, allocations: 241.6 kB / 3.2 GB, free: 53.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/6.167, allocations: 2.258 MB / 3.202 GB, free: 50.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002294/6.169, allocations: 1.364 MB / 3.204 GB, free: 49.34 MB / 0.8698 GB Notification: Performance of SimCode: time 2.424e-06/6.169, allocations: 0 / 3.204 GB, free: 49.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.0858/6.255, allocations: 28.2 MB / 3.231 GB, free: 21.23 MB / 0.8698 GB