Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.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.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") [: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.209/2.209, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001749/0.001748, allocations: 197.1 kB / 319.6 MB, free: 3.305 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.34/2.34, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001309/0.001309, allocations: 91.89 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.998e-06/1.015e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.241, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.007/6.248, allocations: 2.221 GB / 3.109 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/6.248, allocations: 113 kB / 3.109 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2271/6.475, allocations: 58.27 MB / 3.166 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001367/6.475, allocations: 35.94 kB / 3.166 GB, free: 84.25 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003603/6.479, allocations: 1.4 MB / 3.167 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/6.479, allocations: 8.031 kB / 3.167 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/6.482, allocations: 313.7 kB / 3.168 GB, free: 82.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/6.485, allocations: 0.8379 MB / 3.168 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/6.485, allocations: 35.94 kB / 3.168 GB, free: 81.56 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/6.485, allocations: 60 kB / 3.169 GB, free: 81.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003368/6.488, allocations: 1.3 MB / 3.17 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/6.491, allocations: 1.129 MB / 3.171 GB, free: 78.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/6.491, allocations: 4 kB / 3.171 GB, free: 78.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/6.491, allocations: 3.984 kB / 3.171 GB, free: 78.97 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/6.491, allocations: 65.91 kB / 3.171 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/6.502, allocations: 4.527 MB / 3.175 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/6.504, allocations: 0.9066 MB / 3.176 GB, free: 73.22 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/6.505, allocations: 399.9 kB / 3.177 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/6.505, allocations: 121.8 kB / 3.177 GB, free: 72.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/6.506, allocations: 0.517 MB / 3.177 GB, free: 72.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.456e-06/6.506, allocations: 0 / 3.177 GB, free: 72.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004327/6.51, allocations: 1.355 MB / 3.179 GB, free: 70.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/6.511, allocations: 303.6 kB / 3.179 GB, free: 70.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/6.512, allocations: 0.7781 MB / 3.18 GB, free: 69.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/6.513, allocations: 25.7 kB / 3.18 GB, free: 69.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/6.513, allocations: 411.7 kB / 3.18 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/6.513, allocations: 311.4 kB / 3.18 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/6.513, allocations: 0 / 3.18 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/6.513, allocations: 337.9 kB / 3.181 GB, free: 68.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/6.514, allocations: 317.9 kB / 3.181 GB, free: 68.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/6.515, allocations: 0.5078 MB / 3.181 GB, free: 67.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/6.517, allocations: 428.7 kB / 3.182 GB, free: 67.24 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/6.517, allocations: 4 kB / 3.182 GB, free: 67.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003561/6.52, allocations: 1.06 MB / 3.183 GB, free: 66.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002601/6.52, allocations: 1.129 MB / 3.184 GB, free: 64.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/6.52, allocations: 11.88 kB / 3.184 GB, free: 64.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/6.522, allocations: 108.8 kB / 3.184 GB, free: 64.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/6.523, allocations: 195.8 kB / 3.184 GB, free: 64.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009517/6.524, allocations: 0.6615 MB / 3.185 GB, free: 63.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/6.526, allocations: 83.5 kB / 3.185 GB, free: 63.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/6.526, allocations: 39.97 kB / 3.185 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/6.526, allocations: 4 kB / 3.185 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002378/6.529, allocations: 0.8014 MB / 3.186 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/6.529, allocations: 0 / 3.186 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/6.529, allocations: 8 kB / 3.186 GB, free: 63.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/6.53, allocations: 203.7 kB / 3.186 GB, free: 62.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/6.53, allocations: 8.109 kB / 3.186 GB, free: 62.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/6.532, allocations: 83.67 kB / 3.186 GB, free: 62.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/6.532, allocations: 35.98 kB / 3.186 GB, free: 62.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003479/6.532, allocations: 135.7 kB / 3.186 GB, free: 62.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/6.533, allocations: 110.7 kB / 3.186 GB, free: 62.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005044/6.538, allocations: 1.327 MB / 3.188 GB, free: 61.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/6.538, allocations: 12 kB / 3.188 GB, free: 61.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/6.538, allocations: 0 / 3.188 GB, free: 61.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/6.538, allocations: 3.984 kB / 3.188 GB, free: 61.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006532/6.544, allocations: 2.486 MB / 3.19 GB, free: 58.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/6.544, allocations: 4 kB / 3.19 GB, free: 58.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/6.546, allocations: 187.7 kB / 3.19 GB, free: 58.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/6.547, allocations: 188.8 kB / 3.191 GB, free: 58.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/6.548, allocations: 15.98 kB / 3.191 GB, free: 58.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/6.55, allocations: 1.693 MB / 3.192 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/6.55, allocations: 4 kB / 3.192 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003876/6.554, allocations: 1.399 MB / 3.194 GB, free: 54.85 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/6.555, allocations: 351.3 kB / 3.194 GB, free: 54.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/6.555, allocations: 4 kB / 3.194 GB, free: 54.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/6.557, allocations: 75.92 kB / 3.194 GB, free: 54.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/6.557, allocations: 64.89 kB / 3.194 GB, free: 54.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/6.557, allocations: 35.98 kB / 3.194 GB, free: 54.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001192/6.558, allocations: 0.6202 MB / 3.195 GB, free: 53.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002223/6.561, allocations: 451.8 kB / 3.195 GB, free: 53.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (105): * Single equations (assignments): 102 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/6.562, allocations: 498.1 kB / 3.196 GB, free: 52.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00349/6.566, allocations: 1.337 MB / 3.197 GB, free: 51.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/6.566, allocations: 1.5 kB / 3.197 GB, free: 51.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/6.567, allocations: 0.6031 MB / 3.197 GB, free: 50.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/6.57, allocations: 267.7 kB / 3.198 GB, free: 50.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/6.576, allocations: 1.811 MB / 3.2 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/6.578, allocations: 1.334 MB / 3.201 GB, free: 47.43 MB / 0.8698 GB Notification: Performance of SimCode: time 2.154e-06/6.578, allocations: 4 kB / 3.201 GB, free: 47.42 MB / 0.8698 GB Notification: Performance of Templates: time 0.05846/6.636, allocations: 22.46 MB / 3.223 GB, free: 25.09 MB / 0.8698 GB