Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.15/2.15, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001578, allocations: 185.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001231, allocations: 94.89 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.372e-05, allocations: 4 kB / 0.8503 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.5409, allocations: 115.2 MB / 0.9628 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.538/5.078, allocations: 2.119 GB / 3.082 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/5.079, allocations: 109.4 kB / 3.082 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.7068/5.786, allocations: 185.6 MB / 3.263 GB, free: 189.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000339/5.786, allocations: 100 kB / 3.264 GB, free: 189.1 MB / 0.948 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.01427/5.8, allocations: 3.718 MB / 3.267 GB, free: 185.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/5.8, allocations: 11.97 kB / 3.267 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/5.823, allocations: 1.949 MB / 3.269 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007966/5.831, allocations: 2.399 MB / 3.271 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/5.831, allocations: 143.9 kB / 3.272 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/5.832, allocations: 255.9 kB / 3.272 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01597/5.848, allocations: 5.257 MB / 3.277 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/5.865, allocations: 5.489 MB / 3.282 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/5.865, allocations: 15.88 kB / 3.282 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/5.866, allocations: 8 kB / 3.282 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/5.867, allocations: 223.4 kB / 3.283 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05473/5.921, allocations: 25.83 MB / 3.308 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008433/5.93, allocations: 3.41 MB / 3.311 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/5.934, allocations: 1.795 MB / 3.313 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/5.935, allocations: 0.5188 MB / 3.313 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004662/5.94, allocations: 1.932 MB / 3.315 GB, free: 133.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 5.811e-06/5.94, allocations: 3.938 kB / 3.315 GB, free: 133.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01438/5.955, allocations: 5.661 MB / 3.321 GB, free: 128.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/5.955, allocations: 441.2 kB / 3.321 GB, free: 127.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/5.958, allocations: 1.405 MB / 3.323 GB, free: 126.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007784/5.959, allocations: 33.7 kB / 3.323 GB, free: 126.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/5.96, allocations: 1.469 MB / 3.324 GB, free: 124.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/5.961, allocations: 0.8159 MB / 3.325 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/5.962, allocations: 0 / 3.325 GB, free: 123.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001823/5.962, allocations: 411.5 kB / 3.325 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003628/5.966, allocations: 1.392 MB / 3.327 GB, free: 122.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/5.97, allocations: 2.088 MB / 3.329 GB, free: 119.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005627/5.976, allocations: 1.818 MB / 3.33 GB, free: 117.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/5.976, allocations: 8 kB / 3.33 GB, free: 117.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01177/5.987, allocations: 3.84 MB / 3.334 GB, free: 114 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/5.989, allocations: 6.773 MB / 3.341 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/5.989, allocations: 20 kB / 3.341 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.72e-05/5.989, allocations: 32 kB / 3.341 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008869/5.998, allocations: 0.8034 MB / 3.342 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.546e-05/5.998, allocations: 43.86 kB / 3.342 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006454/6.004, allocations: 318.1 kB / 3.342 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007546/6.005, allocations: 139.9 kB / 3.342 GB, free: 105.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/6.005, allocations: 8 kB / 3.342 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009815/6.015, allocations: 3.239 MB / 3.345 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/6.015, allocations: 16 kB / 3.345 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.551e-05/6.015, allocations: 32 kB / 3.345 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00801/6.023, allocations: 0.7768 MB / 3.346 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.005e-05/6.023, allocations: 39.86 kB / 3.346 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/6.029, allocations: 286.2 kB / 3.346 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005625/6.03, allocations: 139.9 kB / 3.346 GB, free: 100.9 MB / 0.948 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.0009725/6.031, allocations: 176 kB / 3.347 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008316/6.031, allocations: 241.1 kB / 3.347 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/6.046, allocations: 4.138 MB / 3.351 GB, free: 96.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/6.046, allocations: 28 kB / 3.351 GB, free: 96.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/6.046, allocations: 0 / 3.351 GB, free: 96.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/6.046, allocations: 15.95 kB / 3.351 GB, free: 96.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02272/6.069, allocations: 9.007 MB / 3.36 GB, free: 87.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/6.069, allocations: 8 kB / 3.36 GB, free: 87.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008116/6.077, allocations: 0.6947 MB / 3.36 GB, free: 86.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.933e-05/6.077, allocations: 16 kB / 3.36 GB, free: 86.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/6.077, allocations: 47.84 kB / 3.361 GB, free: 86.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/6.077, allocations: 23.92 kB / 3.361 GB, free: 86.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/6.077, allocations: 4 kB / 3.361 GB, free: 86.27 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01004/6.087, allocations: 4.338 MB / 3.365 GB, free: 81.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/6.09, allocations: 0.8134 MB / 3.366 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009578/6.091, allocations: 11.98 kB / 3.366 GB, free: 80.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005744/6.097, allocations: 227.7 kB / 3.366 GB, free: 80.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/6.097, allocations: 153.7 kB / 3.366 GB, free: 80.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004007/6.098, allocations: 91.94 kB / 3.366 GB, free: 80.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00244/6.1, allocations: 1.126 MB / 3.367 GB, free: 79.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006406/6.107, allocations: 1.254 MB / 3.368 GB, free: 77.88 MB / 0.948 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.001721/6.108, allocations: 0.5235 MB / 3.369 GB, free: 77.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01292/6.121, allocations: 5.295 MB / 3.374 GB, free: 72.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/6.121, allocations: 8.125 kB / 3.374 GB, free: 72.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/6.126, allocations: 1.78 MB / 3.376 GB, free: 70.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/6.131, allocations: 0.5175 MB / 3.376 GB, free: 69.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/6.151, allocations: 6.201 MB / 3.382 GB, free: 63.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007398/6.159, allocations: 3.017 MB / 3.385 GB, free: 60.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/6.159, allocations: 0 / 3.385 GB, free: 60.4 MB / 0.948 GB Notification: Performance of Templates: time 0.4599/6.619, allocations: 64.65 MB / 3.448 GB, free: 328.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)