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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.16/2.16, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001602/0.001602, allocations: 181.2 kB / 360.4 MB, free: 7.5 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.2 MB / 0.6188 GB, free: 12.41 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.001249/0.001248, allocations: 103.5 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.034e-05, allocations: 0 / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5412, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.507/5.048, allocations: 2.12 GB / 3.083 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/5.049, allocations: 104.6 kB / 3.083 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.6153/5.664, allocations: 163 MB / 3.242 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003216/5.664, allocations: 91.94 kB / 3.242 GB, free: 117.4 MB / 0.9323 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.01314/5.677, allocations: 3.503 MB / 3.245 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/5.677, allocations: 8.031 kB / 3.245 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02126/5.699, allocations: 1.868 MB / 3.247 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007115/5.706, allocations: 2.219 MB / 3.249 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/5.706, allocations: 131.9 kB / 3.25 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/5.708, allocations: 232 kB / 3.25 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01637/5.724, allocations: 4.939 MB / 3.255 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/5.74, allocations: 5.063 MB / 3.26 GB, free: 99.08 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/5.74, allocations: 7.938 kB / 3.26 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007172/5.741, allocations: 4 kB / 3.26 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/5.741, allocations: 198.9 kB / 3.26 GB, free: 98.87 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04661/5.788, allocations: 22.6 MB / 3.282 GB, free: 74.79 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/5.795, allocations: 3.075 MB / 3.285 GB, free: 71.68 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/5.799, allocations: 1.555 MB / 3.286 GB, free: 70.12 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/5.8, allocations: 0.515 MB / 3.287 GB, free: 69.51 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003806/5.804, allocations: 1.745 MB / 3.289 GB, free: 67.74 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=240): time 5.541e-06/5.804, allocations: 0 / 3.289 GB, free: 67.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=243): time 0.01251/5.816, allocations: 5.133 MB / 3.294 GB, free: 62.56 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/5.817, allocations: 445.5 kB / 3.294 GB, free: 62.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/5.819, allocations: 1.349 MB / 3.295 GB, free: 60.67 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006018/5.82, allocations: 29.7 kB / 3.295 GB, free: 60.63 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/5.821, allocations: 1.375 MB / 3.297 GB, free: 59.24 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/5.822, allocations: 0.7736 MB / 3.297 GB, free: 58.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/5.823, allocations: 0 / 3.297 GB, free: 58.45 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001703/5.823, allocations: 411.3 kB / 3.298 GB, free: 58.05 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/5.826, allocations: 1.286 MB / 3.299 GB, free: 56.76 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/5.83, allocations: 1.976 MB / 3.301 GB, free: 54.49 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/5.835, allocations: 1.713 MB / 3.303 GB, free: 52.78 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/5.835, allocations: 12 kB / 3.303 GB, free: 52.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01011/5.845, allocations: 3.596 MB / 3.306 GB, free: 49.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/5.846, allocations: 7.08 MB / 3.313 GB, free: 41.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.742e-05/5.846, allocations: 20 kB / 3.313 GB, free: 41.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.372e-05/5.846, allocations: 36 kB / 3.313 GB, free: 41.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008496/5.855, allocations: 0.7722 MB / 3.314 GB, free: 40.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.332e-05/5.855, allocations: 43.86 kB / 3.314 GB, free: 40.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005834/5.861, allocations: 314.1 kB / 3.314 GB, free: 40.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/5.861, allocations: 139.9 kB / 3.314 GB, free: 40.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/5.861, allocations: 4 kB / 3.314 GB, free: 40.32 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008868/5.87, allocations: 3.112 MB / 3.317 GB, free: 37.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/5.87, allocations: 16 kB / 3.317 GB, free: 37.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.615e-05/5.87, allocations: 32 kB / 3.318 GB, free: 37.16 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007572/5.878, allocations: 0.7572 MB / 3.318 GB, free: 36.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-05/5.878, allocations: 39.86 kB / 3.318 GB, free: 36.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005363/5.883, allocations: 278.4 kB / 3.319 GB, free: 36.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/5.884, allocations: 139.8 kB / 3.319 GB, free: 35.96 MB / 0.9323 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.0008893/5.885, allocations: 184 kB / 3.319 GB, free: 35.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/5.885, allocations: 225.4 kB / 3.319 GB, free: 35.55 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/5.898, allocations: 3.741 MB / 3.323 GB, free: 31.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/5.898, allocations: 28 kB / 3.323 GB, free: 31.76 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/5.898, allocations: 0 / 3.323 GB, free: 31.76 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/5.898, allocations: 15.94 kB / 3.323 GB, free: 31.74 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/5.919, allocations: 8.993 MB / 3.332 GB, free: 22.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/5.919, allocations: 8 kB / 3.332 GB, free: 22.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007263/5.927, allocations: 0.6554 MB / 3.332 GB, free: 21.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.302e-05/5.927, allocations: 16 kB / 3.332 GB, free: 21.88 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003194/5.927, allocations: 47.94 kB / 3.332 GB, free: 21.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.149e-05/5.927, allocations: 27.78 kB / 3.332 GB, free: 21.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/5.927, allocations: 15.94 kB / 3.332 GB, free: 21.79 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008843/5.936, allocations: 4.149 MB / 3.336 GB, free: 17.32 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/5.938, allocations: 0.7628 MB / 3.337 GB, free: 16.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/5.939, allocations: 15.98 kB / 3.337 GB, free: 16.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005304/5.944, allocations: 215.8 kB / 3.337 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/5.944, allocations: 161.5 kB / 3.337 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003623/5.945, allocations: 95.94 kB / 3.338 GB, free: 16.06 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002195/5.947, allocations: 1.076 MB / 3.339 GB, free: 15 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005896/5.953, allocations: 1.176 MB / 3.34 GB, free: 13.82 MB / 0.9323 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.001672/5.955, allocations: 0.5248 MB / 3.34 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01169/5.966, allocations: 4.926 MB / 3.345 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/5.966, allocations: 4 kB / 3.345 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/5.97, allocations: 1.605 MB / 3.347 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/5.975, allocations: 468.3 kB / 3.347 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/5.992, allocations: 5.729 MB / 3.353 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3228/6.315, allocations: 2.841 MB / 3.355 GB, free: 327.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.423e-06/6.315, allocations: 0 / 3.355 GB, free: 327.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.1388/6.454, allocations: 60.21 MB / 3.414 GB, free: 325.6 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)