Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.089/2.089, allocations: 248.6 MB / 255.9 MB, free: 7.223 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.00168/0.001679, allocations: 187.8 kB / 315.1 MB, free: 4.281 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.998/1.998, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001296, allocations: 94.64 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4722/0.4735, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.6886, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.551/2.239, allocations: 427.9 MB / 1.301 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/2.24, allocations: 95.2 kB / 1.301 GB, free: 260.3 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 1.061/3.301, allocations: 289.1 MB / 1.584 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/3.301, allocations: 8 kB / 1.584 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003551/3.305, allocations: 0.5021 MB / 1.584 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/3.315, allocations: 2.851 MB / 1.587 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/3.316, allocations: 158.7 kB / 1.587 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008855/3.317, allocations: 163.9 kB / 1.587 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008397/3.325, allocations: 2.208 MB / 1.589 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009641/3.335, allocations: 2.531 MB / 1.592 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.116e-05/3.335, allocations: 7.938 kB / 1.592 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/3.335, allocations: 4 kB / 1.592 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/3.335, allocations: 68 kB / 1.592 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4093/3.745, allocations: 12.83 MB / 1.604 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/3.75, allocations: 1.559 MB / 1.606 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/3.752, allocations: 0.8041 MB / 1.607 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/3.754, allocations: 0.8564 MB / 1.608 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002815/3.757, allocations: 1.004 MB / 1.609 GB, free: 264 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 1.323e-05/3.757, allocations: 0 / 1.609 GB, free: 264 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.007904/3.765, allocations: 1.941 MB / 1.611 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/3.765, allocations: 158.5 kB / 1.611 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00889/3.774, allocations: 3.245 MB / 1.614 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007661/3.775, allocations: 73.28 kB / 1.614 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/3.776, allocations: 1.026 MB / 1.615 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/3.777, allocations: 466.7 kB / 1.615 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/3.778, allocations: 0 / 1.615 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001999/3.778, allocations: 383.7 kB / 1.616 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/3.78, allocations: 0.751 MB / 1.616 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/3.783, allocations: 1.378 MB / 1.618 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/3.788, allocations: 0.9721 MB / 1.619 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/3.788, allocations: 10.62 kB / 1.619 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.008921/3.797, allocations: 2.47 MB / 1.621 GB, free: 261.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001624/3.798, allocations: 7.073 MB / 1.628 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.028e-05/3.798, allocations: 15.66 kB / 1.628 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/3.799, allocations: 81.38 kB / 1.628 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/3.802, allocations: 335.1 kB / 1.628 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008404/3.802, allocations: 0.6783 MB / 1.629 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/3.806, allocations: 205.7 kB / 1.629 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006478/3.807, allocations: 113.2 kB / 1.629 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/3.807, allocations: 7.844 kB / 1.629 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00819/3.815, allocations: 2.11 MB / 1.632 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/3.815, allocations: 13.81 kB / 1.632 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/3.815, allocations: 81.39 kB / 1.632 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/3.818, allocations: 326.8 kB / 1.632 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007586/3.819, allocations: 0.6774 MB / 1.633 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/3.822, allocations: 178.9 kB / 1.633 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006899/3.823, allocations: 109.7 kB / 1.633 GB, free: 252.8 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.0008391/3.824, allocations: 261.8 kB / 1.633 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/3.825, allocations: 329.4 kB / 1.633 GB, free: 252.5 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.006573/3.831, allocations: 1.353 MB / 1.635 GB, free: 252.4 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