Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 183.6 kB / 316 MB, free: 3.492 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.141/1.141, allocations: 205.1 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009279/0.0009281, allocations: 83.38 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.368/0.369, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.5424, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.547, allocations: 428.1 MB / 1.303 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.547, allocations: 93.81 kB / 1.303 GB, free: 318 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.5327/2.08, allocations: 289 MB / 1.585 GB, free: 26.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/2.08, allocations: 12 kB / 1.585 GB, free: 26.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/2.082, allocations: 0.506 MB / 1.586 GB, free: 26.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006891/2.089, allocations: 2.847 MB / 1.588 GB, free: 23.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/2.089, allocations: 154.8 kB / 1.588 GB, free: 23.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008061/2.09, allocations: 171.9 kB / 1.589 GB, free: 22.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004961/2.095, allocations: 2.201 MB / 1.591 GB, free: 20.63 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00513/2.1, allocations: 2.535 MB / 1.593 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/2.1, allocations: 7.938 kB / 1.593 GB, free: 17.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/2.101, allocations: 4 kB / 1.593 GB, free: 17.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/2.101, allocations: 67.98 kB / 1.593 GB, free: 17.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/2.117, allocations: 12.83 MB / 1.606 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/2.12, allocations: 1.562 MB / 1.607 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/2.121, allocations: 0.7936 MB / 1.608 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/2.122, allocations: 0.8679 MB / 1.609 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/2.123, allocations: 0.992 MB / 1.61 GB, free: 284 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 4.128e-06/2.123, allocations: 0 / 1.61 GB, free: 284 kB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.2642/2.387, allocations: 1.937 MB / 1.612 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/2.387, allocations: 160.7 kB / 1.612 GB, free: 277.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/2.391, allocations: 3.245 MB / 1.615 GB, free: 277.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002503/2.392, allocations: 68.97 kB / 1.615 GB, free: 277.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007291/2.392, allocations: 1.03 MB / 1.616 GB, free: 277 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/2.393, allocations: 469.2 kB / 1.617 GB, free: 276.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/2.393, allocations: 0 / 1.617 GB, free: 276.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/2.393, allocations: 387.9 kB / 1.617 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/2.394, allocations: 0.7521 MB / 1.618 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/2.395, allocations: 1.368 MB / 1.619 GB, free: 275.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/2.397, allocations: 0.9761 MB / 1.62 GB, free: 275.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/2.397, allocations: 7.406 kB / 1.62 GB, free: 275.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004073/2.401, allocations: 2.474 MB / 1.623 GB, free: 275.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/2.402, allocations: 7.062 MB / 1.629 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/2.402, allocations: 18.41 kB / 1.629 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/2.403, allocations: 80.08 kB / 1.63 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/2.404, allocations: 337.8 kB / 1.63 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004308/2.404, allocations: 0.6822 MB / 1.631 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/2.406, allocations: 197.8 kB / 1.631 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/2.406, allocations: 112.4 kB / 1.631 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-06/2.406, allocations: 3.125 kB / 1.631 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003433/2.409, allocations: 2.11 MB / 1.633 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/2.409, allocations: 14.53 kB / 1.633 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/2.41, allocations: 87.09 kB / 1.633 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/2.411, allocations: 327.5 kB / 1.633 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003465/2.411, allocations: 0.6733 MB / 1.634 GB, free: 267 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/2.413, allocations: 181.4 kB / 1.634 GB, free: 267 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/2.413, allocations: 114 kB / 1.634 GB, free: 267 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 142 ($PRE.eleFol.opeMod.transition3.enableFire,$PRE.eleFol.opeMod.transition5.enableFire,$PRE.eleFol.opeMod.transition9.enableFire,$PRE.eleFol.opeMod.transition7.enableFire,$PRE.eleFol.opeMod.transition10.enableFire,$PRE.eleFol.opeMod.transition1.enableFire,$PRE.eleFol.opeMod.transition2.enableFire,$PRE.eleFol.opeMod.transition8.enableFire,$PRE.eleFol.opeMod.transition6.enableFire,$PRE.eleFol.opeMod.transition4.enableFire,$PRE.eleFol.opeMod.warUpCtr.timer.yAcc,eleFol.opeMod.warUpCtr.timer.yAcc,$PRE.eleFol.opeMod.timer.yAcc,eleFol.opeMod.timer.yAcc,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.valDat.nextTimeEvent,eleFol.eneCon.and1.u2,eleFol.eneCon.engTemWarUp.y,eleFol.stateGraphRoot.resume,eleFol.stateGraphRoot.suspend,eleFol.fil.limDp.y,eleFol.eneCon.delWarUp.y,eleFol.eneCon.and1.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,eleFol.eneCon.booExp.y,eleFol.eneCon.and1.u1,eleFol.opeMod.runSig,$PRE.eleFol.opeMod.staBy.localActive,eleFol.opeMod.staBy.localActive,eleFol.opeMod.staBy.outPort[2].available,$PRE.eleFol.opeMod.staBy.newActive,eleFol.opeMod.staBy.newActive,$PRE.eleFol.opeMod.staBy.oldActive,eleFol.opeMod.staBy.oldActive,eleFol.opeMod.staBy.active,$PRE.eleFol.opeMod.pumOn.localActive,eleFol.opeMod.pumOn.localActive,eleFol.opeMod.pumOn.outPort[2].available,$PRE.eleFol.opeMod.pumOn.newActive,eleFol.opeMod.pumOn.newActive,$PRE.eleFol.opeMod.pumOn.oldActive,eleFol.opeMod.pumOn.oldActive,eleFol.opeMod.pumOn.active,$PRE.eleFol.opeMod.warUp.localActive,eleFol.opeMod.warUp.localActive,eleFol.opeMod.warUp.inPort[2].occupied,eleFol.opeMod.warUp.outPort[2].available,$PRE.eleFol.opeMod.warUp.newActive,eleFol.opeMod.warUp.newActive,$PRE.eleFol.opeMod.warUp.oldActive,eleFol.opeMod.warUp.oldActive,eleFol.opeMod.warUp.active,$PRE.eleFol.opeMod.cooDow.localActive,eleFol.opeMod.cooDow.localActive,eleFol.opeMod.cooDow.inPort[2].occupied,eleFol.opeMod.cooDow.outPort[2].available,$PRE.eleFol.opeMod.cooDow.newActive,eleFol.opeMod.cooDow.newActive,$PRE.eleFol.opeMod.cooDow.oldActive,eleFol.opeMod.cooDow.oldActive,eleFol.opeMod.cooDow.active,$PRE.eleFol.opeMod.hys.y,eleFol.opeMod.hys.y,eleFol.opeMod.and1.u2,eleFol.opeMod.and1.y,eleFol.opeMod.transition3.enableFire,eleFol.opeMod.transition5.enableFire,eleFol.opeMod.transition9.enableFire,eleFol.opeMod.transition7.enableFire,eleFol.opeMod.and3.y,eleFol.opeMod.transition10.enableFire,eleFol.opeMod.and4.u1,eleFol.opeMod.and4.u2,eleFol.opeMod.and4.y,eleFol.opeMod.assWatMas.assMes.u,$PRE.eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.transition1.enableFire,eleFol.opeMod.transition2.enableFire,$PRE.eleFol.opeMod.nor.localActive,eleFol.opeMod.nor.localActive,$PRE.eleFol.opeMod.nor.newActive,eleFol.opeMod.nor.newActive,$PRE.eleFol.opeMod.nor.oldActive,eleFol.opeMod.nor.oldActive,eleFol.opeMod.nor.active,eleFol.opeMod.transition8.enableFire,$PRE.eleFol.opeMod.warUpCtr.timer.entryTime,eleFol.opeMod.warUpCtr.timer.entryTime,eleFol.opeMod.transition6.enableFire,$PRE.eleFol.opeMod.plaOff.localActive,eleFol.opeMod.plaOff.localActive,eleFol.opeMod.plaOff.inPort[2].occupied,eleFol.opeMod.plaOff.inPort[3].occupied,$PRE.eleFol.opeMod.plaOff.newActive,eleFol.opeMod.plaOff.newActive,$PRE.eleFol.opeMod.plaOff.oldActive,eleFol.opeMod.plaOff.oldActive,eleFol.opeMod.plaOff.active,eleFol.opeMod.transition4.enableFire,eleFol.opeMod.transition4.fire,$PRE.eleFol.opeMod.transition4.t_start,eleFol.opeMod.transition4.t_start,$PRE.eleFol.opeMod.timer.entryTime,eleFol.opeMod.timer.entryTime,$PRE.eleFol.hys.y,eleFol.hys.y,eleFol.fil.assPow.assMesP.u,$PRE.eleFol.fil.assPow.maxPow.y,eleFol.fil.assPow.maxPow.y,$PRE.eleFol.fil.assPow.minPow.y,eleFol.fil.assPow.minPow.y,$PRE.eleFol.assWatTem.hys.y,eleFol.assWatTem.hys.y,eleFol.powCon.staBy.y,eleFol.powCon.cooDow.y,eleFol.stateGraphRoot.activeSteps,eleFol.conWat.opeMod,eleFol.conWat.offStaBy.y,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,valDat.nextTimeEvent,$PRE.valDat.nextTimeEventScaled,valDat.nextTimeEventScaled,$PRE.eleFol.opeMod.warUpCtr.timer.reset_internal,eleFol.opeMod.warUpCtr.timer.reset_internal,$PRE.eleFol.opeMod.timer.reset_internal,eleFol.opeMod.timer.reset_internal,ETheVal.local_reset,EEleVal.local_reset,EThe.local_reset,EEle.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004153/2.413, allocations: 272.9 kB / 1.634 GB, free: 266.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/2.414, allocations: 326.5 kB / 1.635 GB, free: 266.6 MB / 0.8698 GB Error: Too many equations, over-determined system. The model has 198 equation(s) and 197 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/2.417, allocations: 1.352 MB / 1.636 GB, free: 266.6 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.CHPs.Validation.ElectricalFollowing could not be translated to FMU