Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 177.3 kB / 487 MB, free: 5.332 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 0.7819 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009306, allocations: 88.69 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5773/0.5783, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.8495, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9536/1.803, allocations: 446.3 MB / 1.641 GB, free: 9.559 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004417/1.804, allocations: 99.3 kB / 1.641 GB, free: 9.508 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 1.159/2.963, allocations: 301.4 MB / 1.936 GB, free: 215 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/2.963, allocations: 13 kB / 1.936 GB, free: 215 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/2.965, allocations: 0.5061 MB / 1.936 GB, free: 214.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007519/2.973, allocations: 2.855 MB / 1.939 GB, free: 211.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/2.973, allocations: 154.8 kB / 1.939 GB, free: 211.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/2.974, allocations: 175.9 kB / 1.939 GB, free: 211.3 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006291/2.981, allocations: 2.216 MB / 1.941 GB, free: 209.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006733/2.987, allocations: 2.555 MB / 1.944 GB, free: 206.3 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.276e-05/2.988, allocations: 11.88 kB / 1.944 GB, free: 206.3 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005241/2.988, allocations: 19.98 kB / 1.944 GB, free: 206.3 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/2.988, allocations: 64 kB / 1.944 GB, free: 206.2 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/3.008, allocations: 12.88 MB / 1.957 GB, free: 193.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/3.011, allocations: 1.782 MB / 1.958 GB, free: 191.2 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/3.012, allocations: 0.9143 MB / 1.959 GB, free: 190.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/3.013, allocations: 0.864 MB / 1.96 GB, free: 189.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/3.015, allocations: 1.126 MB / 1.961 GB, free: 188.1 MB / 1.135 GB Notification: Performance of pre-optimization done (n=181): time 7.234e-06/3.015, allocations: 4 kB / 1.961 GB, free: 188.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=181): time 0.00485/3.02, allocations: 1.998 MB / 1.963 GB, free: 186.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/3.02, allocations: 401.8 kB / 1.963 GB, free: 185.6 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006975/3.027, allocations: 3.193 MB / 1.967 GB, free: 182.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0006535/3.028, allocations: 85.67 kB / 1.967 GB, free: 182.4 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/3.029, allocations: 1 MB / 1.968 GB, free: 181.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000881/3.03, allocations: 0.4925 MB / 1.968 GB, free: 180.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/3.03, allocations: 0 / 1.968 GB, free: 180.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001627/3.03, allocations: 390.4 kB / 1.968 GB, free: 180.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/3.032, allocations: 0.7581 MB / 1.969 GB, free: 179.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/3.033, allocations: 1.376 MB / 1.971 GB, free: 178.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/3.035, allocations: 0.9933 MB / 1.972 GB, free: 177.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/3.035, allocations: 4 kB / 1.972 GB, free: 177.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00482/3.04, allocations: 2.502 MB / 1.974 GB, free: 174.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.00111/3.041, allocations: 6.842 MB / 1.981 GB, free: 167.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/3.041, allocations: 16 kB / 1.981 GB, free: 167.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/3.042, allocations: 84.83 kB / 1.981 GB, free: 167.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/3.043, allocations: 351.2 kB / 1.981 GB, free: 166.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/3.043, allocations: 0.6693 MB / 1.982 GB, free: 166 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/3.045, allocations: 198.8 kB / 1.982 GB, free: 165.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/3.046, allocations: 115.9 kB / 1.982 GB, free: 165.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/3.046, allocations: 8 kB / 1.982 GB, free: 165.7 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003842/3.049, allocations: 2.122 MB / 1.984 GB, free: 163.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/3.05, allocations: 16.19 kB / 1.984 GB, free: 163.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/3.05, allocations: 88.83 kB / 1.984 GB, free: 163.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/3.051, allocations: 327.3 kB / 1.985 GB, free: 163.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000407/3.051, allocations: 0.6771 MB / 1.985 GB, free: 162.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/3.053, allocations: 182.9 kB / 1.985 GB, free: 162.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/3.054, allocations: 108 kB / 1.985 GB, free: 162.2 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 154 ($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,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.valDat.nextTimeEvent,$PRE.eleFol.opeMod.transition3.t_start,eleFol.opeMod.transition3.t_start,$PRE.eleFol.opeMod.transition5.t_start,eleFol.opeMod.transition5.t_start,$PRE.eleFol.opeMod.transition9.t_start,eleFol.opeMod.transition9.t_start,$PRE.eleFol.opeMod.transition7.t_start,eleFol.opeMod.transition7.t_start,$PRE.eleFol.opeMod.transition10.t_start,eleFol.opeMod.transition10.t_start,$PRE.eleFol.opeMod.transition1.t_start,eleFol.opeMod.transition1.t_start,$PRE.eleFol.opeMod.transition2.t_start,eleFol.opeMod.transition2.t_start,$PRE.eleFol.opeMod.transition8.t_start,eleFol.opeMod.transition8.t_start,$PRE.eleFol.opeMod.transition6.t_start,eleFol.opeMod.transition6.t_start,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,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,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.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.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.passed,eleFol.opeMod.warUpCtr.timer.passed,$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.passed,eleFol.opeMod.timer.passed,$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,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 (280): * Single equations (assignments): 279 * 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.0005875/3.054, allocations: 287.3 kB / 1.986 GB, free: 161.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/3.055, allocations: 331.9 kB / 1.986 GB, free: 161.6 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 201 equation(s) and 200 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/3.059, allocations: 1.378 MB / 1.987 GB, free: 160.2 MB / 1.135 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