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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") [: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.254/2.254, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.00165/0.00165, allocations: 173.2 kB / 319.6 MB, free: 3.332 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.974/1.974, 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.001258/0.001257, allocations: 90.5 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.165e-05/1.168e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.12/6.327, allocations: 2.238 GB / 3.126 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/6.327, allocations: 106.7 kB / 3.127 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.187/7.514, allocations: 185.6 MB / 3.308 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005343/7.515, allocations: 99.41 kB / 3.308 GB, free: 233.6 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.02341/7.538, allocations: 3.726 MB / 3.311 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/7.538, allocations: 7.812 kB / 3.311 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03507/7.573, allocations: 1.947 MB / 3.313 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/7.587, allocations: 2.414 MB / 3.316 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008652/7.588, allocations: 136 kB / 3.316 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/7.59, allocations: 246.3 kB / 3.316 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02464/7.615, allocations: 5.261 MB / 3.321 GB, free: 231 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/7.636, allocations: 5.499 MB / 3.327 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/7.636, allocations: 13.72 kB / 3.327 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000856/7.637, allocations: 7.594 kB / 3.327 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/7.637, allocations: 221.8 kB / 3.327 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06324/7.7, allocations: 25.81 MB / 3.352 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/7.711, allocations: 3.41 MB / 3.355 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005486/7.716, allocations: 1.798 MB / 3.357 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/7.718, allocations: 0.5098 MB / 3.358 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006398/7.724, allocations: 1.937 MB / 3.36 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=254): time 1.046e-05/7.724, allocations: 3.094 kB / 3.36 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=257): time 0.02015/7.745, allocations: 5.673 MB / 3.365 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/7.745, allocations: 448.2 kB / 3.365 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/7.749, allocations: 1.403 MB / 3.367 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009814/7.75, allocations: 28.02 kB / 3.367 GB, free: 207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002005/7.752, allocations: 1.459 MB / 3.368 GB, free: 206 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/7.754, allocations: 0.8169 MB / 3.369 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/7.754, allocations: 0 / 3.369 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002758/7.755, allocations: 419.8 kB / 3.369 GB, free: 205 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004833/7.76, allocations: 1.392 MB / 3.371 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/7.766, allocations: 2.086 MB / 3.373 GB, free: 203 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007102/7.773, allocations: 1.814 MB / 3.375 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-05/7.773, allocations: 5.531 kB / 3.375 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01651/7.789, allocations: 3.842 MB / 3.378 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001567/7.791, allocations: 6.776 MB / 3.385 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/7.791, allocations: 24.44 kB / 3.385 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/7.791, allocations: 35.56 kB / 3.385 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009776/7.801, allocations: 0.8016 MB / 3.386 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/7.801, allocations: 41.23 kB / 3.386 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007682/7.809, allocations: 321 kB / 3.386 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/7.81, allocations: 139.3 kB / 3.386 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/7.81, allocations: 3.5 kB / 3.386 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01459/7.825, allocations: 3.244 MB / 3.39 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-05/7.825, allocations: 24.06 kB / 3.39 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.1e-05/7.825, allocations: 32.59 kB / 3.39 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009055/7.834, allocations: 0.7664 MB / 3.39 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.596e-05/7.835, allocations: 50.03 kB / 3.39 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006719/7.841, allocations: 283.5 kB / 3.391 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/7.842, allocations: 132.6 kB / 3.391 GB, free: 192.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (346): * Single equations (assignments): 346 * 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.001539/7.844, allocations: 186.7 kB / 3.391 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/7.845, allocations: 231.4 kB / 3.391 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/7.864, allocations: 4.136 MB / 3.395 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/7.864, allocations: 32 kB / 3.395 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/7.864, allocations: 0 / 3.395 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/7.864, allocations: 16.89 kB / 3.395 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/7.894, allocations: 8.997 MB / 3.404 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/7.894, allocations: 8.656 kB / 3.404 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008631/7.902, allocations: 0.7003 MB / 3.405 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.288e-05/7.902, allocations: 17.41 kB / 3.405 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009369/7.903, allocations: 44.45 kB / 3.405 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.774e-05/7.903, allocations: 20.17 kB / 3.405 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/7.903, allocations: 4 kB / 3.405 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01282/7.916, allocations: 4.345 MB / 3.409 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/7.92, allocations: 0.8113 MB / 3.41 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/7.921, allocations: 8 kB / 3.41 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006805/7.928, allocations: 223.7 kB / 3.41 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009104/7.929, allocations: 157.1 kB / 3.41 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005449/7.93, allocations: 98.94 kB / 3.41 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002898/7.933, allocations: 1.13 MB / 3.411 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009376/7.942, allocations: 1.253 MB / 3.413 GB, free: 173 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (276): * Single equations (assignments): 274 * 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.002219/7.944, allocations: 0.5136 MB / 3.413 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01571/7.96, allocations: 5.291 MB / 3.418 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/7.96, allocations: 4 kB / 3.418 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/7.965, allocations: 1.786 MB / 3.42 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005792/7.971, allocations: 0.5148 MB / 3.421 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/7.995, allocations: 6.204 MB / 3.427 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008338/8.003, allocations: 3.013 MB / 3.43 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.904e-06/8.003, allocations: 0 / 3.43 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.1566/8.16, allocations: 64.65 MB / 3.493 GB, free: 91.78 MB / 0.8698 GB