Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.324/1.324, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009906/0.0009906, allocations: 177.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 94.8 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.204e-06, allocations: 4 kB / 0.8511 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3819, allocations: 115.3 MB / 0.9637 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.625/3.007, allocations: 2.12 GB / 3.084 GB, free: 14.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/3.008, allocations: 97.44 kB / 3.084 GB, free: 14.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6094/3.617, allocations: 163 MB / 3.243 GB, free: 243.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002379/3.617, allocations: 95.94 kB / 3.243 GB, free: 243.7 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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.007531/3.625, allocations: 3.495 MB / 3.246 GB, free: 240.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/3.625, allocations: 12.03 kB / 3.247 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/3.636, allocations: 1.872 MB / 3.248 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/3.639, allocations: 2.219 MB / 3.25 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.539e-05/3.639, allocations: 131.9 kB / 3.251 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/3.64, allocations: 232 kB / 3.251 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006689/3.646, allocations: 4.943 MB / 3.256 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006389/3.653, allocations: 5.063 MB / 3.261 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/3.653, allocations: 7.938 kB / 3.261 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/3.653, allocations: 4 kB / 3.261 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/3.653, allocations: 198.9 kB / 3.261 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/3.675, allocations: 22.58 MB / 3.283 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/3.679, allocations: 3.076 MB / 3.286 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/3.681, allocations: 1.562 MB / 3.287 GB, free: 196.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/3.681, allocations: 0.5111 MB / 3.288 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/3.683, allocations: 1.748 MB / 3.29 GB, free: 194.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 3.798e-06/3.683, allocations: 0 / 3.29 GB, free: 194.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.006459/3.69, allocations: 5.129 MB / 3.295 GB, free: 188.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/3.69, allocations: 445.2 kB / 3.295 GB, free: 188.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/3.691, allocations: 1.349 MB / 3.296 GB, free: 187 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/3.691, allocations: 29.7 kB / 3.296 GB, free: 187 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/3.692, allocations: 1.379 MB / 3.298 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/3.692, allocations: 0.7774 MB / 3.298 GB, free: 184.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/3.693, allocations: 0 / 3.298 GB, free: 184.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/3.693, allocations: 411.6 kB / 3.299 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/3.694, allocations: 1.282 MB / 3.3 GB, free: 183.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/3.696, allocations: 1.98 MB / 3.302 GB, free: 180.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/3.699, allocations: 1.71 MB / 3.304 GB, free: 179.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/3.699, allocations: 8 kB / 3.304 GB, free: 179.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.005028/3.704, allocations: 3.596 MB / 3.307 GB, free: 175.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008083/3.704, allocations: 7.088 MB / 3.314 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/3.704, allocations: 19.98 kB / 3.314 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/3.705, allocations: 36 kB / 3.314 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/3.708, allocations: 0.7763 MB / 3.315 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/3.708, allocations: 39.86 kB / 3.315 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/3.711, allocations: 310.1 kB / 3.315 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/3.712, allocations: 139.9 kB / 3.315 GB, free: 166.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-06/3.712, allocations: 8 kB / 3.315 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004465/3.716, allocations: 3.112 MB / 3.319 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/3.716, allocations: 16 kB / 3.319 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/3.716, allocations: 32.88 kB / 3.319 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/3.72, allocations: 0.7605 MB / 3.319 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/3.72, allocations: 39.86 kB / 3.319 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/3.722, allocations: 286.3 kB / 3.32 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/3.723, allocations: 139.8 kB / 3.32 GB, free: 162.3 MB / 0.948 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.0004418/3.723, allocations: 176.2 kB / 3.32 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/3.723, allocations: 221.3 kB / 3.32 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006546/3.73, allocations: 3.75 MB / 3.324 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/3.73, allocations: 28 kB / 3.324 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/3.73, allocations: 0 / 3.324 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/3.73, allocations: 11.95 kB / 3.324 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/3.74, allocations: 8.985 MB / 3.333 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/3.74, allocations: 8 kB / 3.333 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/3.744, allocations: 0.6476 MB / 3.333 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/3.744, allocations: 16 kB / 3.333 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/3.744, allocations: 59.94 kB / 3.333 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/3.744, allocations: 27.83 kB / 3.333 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/3.744, allocations: 15.88 kB / 3.333 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004409/3.749, allocations: 4.149 MB / 3.337 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/3.75, allocations: 0.7628 MB / 3.338 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/3.75, allocations: 15.98 kB / 3.338 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/3.753, allocations: 215.7 kB / 3.338 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/3.753, allocations: 153.6 kB / 3.339 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/3.753, allocations: 95.94 kB / 3.339 GB, free: 142.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001123/3.754, allocations: 1.076 MB / 3.34 GB, free: 141.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003242/3.758, allocations: 1.172 MB / 3.341 GB, free: 140.2 MB / 0.948 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.0009454/3.759, allocations: 0.5219 MB / 3.341 GB, free: 139.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00556/3.764, allocations: 4.934 MB / 3.346 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/3.764, allocations: 0 / 3.346 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/3.766, allocations: 1.614 MB / 3.348 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/3.768, allocations: 461.6 kB / 3.348 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/3.777, allocations: 5.732 MB / 3.354 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/3.78, allocations: 2.843 MB / 3.357 GB, free: 124 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/3.78, allocations: 0 / 3.357 GB, free: 124 MB / 0.948 GB Notification: Performance of Templates: time 0.06948/3.85, allocations: 60.22 MB / 3.415 GB, free: 63.85 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)