Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [: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.441/2.441, allocations: 253.1 MB / 260.4 MB, free: 7.5 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.002177/0.002176, allocations: 181.1 kB / 319.6 MB, free: 3.297 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.918/1.918, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001419/0.001418, allocations: 97.44 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.708e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.764/5.983, allocations: 2.239 GB / 3.127 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/5.983, allocations: 108.3 kB / 3.127 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.032/7.015, allocations: 163 MB / 3.286 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003383/7.015, allocations: 86.75 kB / 3.286 GB, free: 233.4 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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01401/7.029, allocations: 3.51 MB / 3.29 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/7.03, allocations: 11.19 kB / 3.29 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02131/7.051, allocations: 1.868 MB / 3.292 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/7.058, allocations: 2.214 MB / 3.294 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/7.059, allocations: 129 kB / 3.294 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/7.061, allocations: 229.7 kB / 3.294 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01702/7.078, allocations: 4.94 MB / 3.299 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/7.097, allocations: 5.054 MB / 3.304 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/7.097, allocations: 16.12 kB / 3.304 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/7.099, allocations: 6.25 kB / 3.304 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/7.099, allocations: 195.2 kB / 3.304 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05535/7.154, allocations: 22.61 MB / 3.326 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008862/7.163, allocations: 3.074 MB / 3.329 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/7.168, allocations: 1.558 MB / 3.331 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/7.169, allocations: 0.5164 MB / 3.331 GB, free: 219 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005208/7.174, allocations: 1.739 MB / 3.333 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=240): time 8.306e-06/7.174, allocations: 0 / 3.333 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243): time 0.01757/7.192, allocations: 5.134 MB / 3.338 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/7.192, allocations: 444.1 kB / 3.338 GB, free: 216 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/7.196, allocations: 1.348 MB / 3.34 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000828/7.196, allocations: 29.61 kB / 3.34 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/7.198, allocations: 1.373 MB / 3.341 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/7.2, allocations: 0.7789 MB / 3.342 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/7.2, allocations: 0 / 3.342 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002441/7.2, allocations: 407.7 kB / 3.342 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/7.204, allocations: 1.289 MB / 3.343 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004867/7.209, allocations: 1.98 MB / 3.345 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006493/7.216, allocations: 1.712 MB / 3.347 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.275e-05/7.216, allocations: 5 kB / 3.347 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.02315/7.239, allocations: 3.598 MB / 3.351 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002052/7.241, allocations: 7.085 MB / 3.357 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/7.241, allocations: 21.17 kB / 3.357 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/7.242, allocations: 33.19 kB / 3.357 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/7.255, allocations: 0.7762 MB / 3.358 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001108/7.255, allocations: 45.45 kB / 3.358 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/7.266, allocations: 306.9 kB / 3.359 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/7.267, allocations: 136.2 kB / 3.359 GB, free: 202 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/7.267, allocations: 4.031 kB / 3.359 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01893/7.286, allocations: 3.11 MB / 3.362 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/7.286, allocations: 17.09 kB / 3.362 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.49e-05/7.286, allocations: 33.97 kB / 3.362 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/7.3, allocations: 0.7621 MB / 3.363 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001015/7.3, allocations: 41.75 kB / 3.363 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009588/7.309, allocations: 285 kB / 3.363 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/7.311, allocations: 135.5 kB / 3.363 GB, free: 200.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (336): * Single equations (assignments): 336 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002241/7.313, allocations: 174.6 kB / 3.363 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002574/7.316, allocations: 222.4 kB / 3.363 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/7.335, allocations: 3.75 MB / 3.367 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/7.335, allocations: 24.88 kB / 3.367 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/7.335, allocations: 2.281 kB / 3.367 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/7.335, allocations: 13.33 kB / 3.367 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02857/7.364, allocations: 9.001 MB / 3.376 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/7.364, allocations: 10.78 kB / 3.376 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008224/7.372, allocations: 0.6509 MB / 3.377 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/7.372, allocations: 16.56 kB / 3.377 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000821/7.373, allocations: 48.83 kB / 3.377 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-05/7.373, allocations: 27.28 kB / 3.377 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/7.373, allocations: 10.75 kB / 3.377 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01333/7.386, allocations: 4.159 MB / 3.381 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003957/7.39, allocations: 0.7614 MB / 3.381 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002966/7.394, allocations: 13.72 kB / 3.381 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/7.405, allocations: 216.8 kB / 3.382 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/7.406, allocations: 154.2 kB / 3.382 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007194/7.407, allocations: 93.38 kB / 3.382 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003533/7.411, allocations: 1.079 MB / 3.383 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009938/7.421, allocations: 1.17 MB / 3.384 GB, free: 191.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002511/7.423, allocations: 0.5266 MB / 3.385 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01615/7.439, allocations: 4.931 MB / 3.389 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/7.44, allocations: 4 kB / 3.389 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006131/7.446, allocations: 1.608 MB / 3.391 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/7.451, allocations: 482.4 kB / 3.391 GB, free: 187 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/7.473, allocations: 5.727 MB / 3.397 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007755/7.48, allocations: 2.84 MB / 3.4 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.315e-06/7.481, allocations: 0 / 3.4 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.1725/7.653, allocations: 60.21 MB / 3.459 GB, free: 126.4 MB / 0.8698 GB