Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.286/2.286, allocations: 284.8 MB / 292.1 MB, free: 1.16 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.001589, allocations: 188.8 kB / 360.3 MB, free: 15.46 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.1 MB / 0.6187 GB, free: 6.344 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001288, allocations: 89.08 kB / 0.7317 GB, free: 46.99 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.29/0.2913, allocations: 121.4 MB / 0.8502 GB, free: 13.36 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.9531, allocations: 115.2 MB / 0.9627 GB, free: 86.05 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/2.074, allocations: 433.7 MB / 1.386 GB, free: 152.7 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/2.075, allocations: 95.73 kB / 1.386 GB, free: 152.7 MB / 0.8621 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 639 * Number of variables: 639 Notification: Performance of Generate backend data structure: time 1.441/3.515, allocations: 294.9 MB / 1.674 GB, free: 217.8 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/3.515, allocations: 11.62 kB / 1.674 GB, free: 217.8 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/3.518, allocations: 0.5008 MB / 1.675 GB, free: 217.5 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009755/3.528, allocations: 2.846 MB / 1.678 GB, free: 216.9 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/3.528, allocations: 146.1 kB / 1.678 GB, free: 216.9 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/3.529, allocations: 172.5 kB / 1.678 GB, free: 216.9 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008149/3.538, allocations: 2.204 MB / 1.68 GB, free: 216.9 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009314/3.547, allocations: 2.533 MB / 1.683 GB, free: 216.4 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/3.547, allocations: 3.562 kB / 1.683 GB, free: 216.4 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005248/3.548, allocations: 14 kB / 1.683 GB, free: 216.4 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.678e-05/3.548, allocations: 65.41 kB / 1.683 GB, free: 216.4 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/3.576, allocations: 12.83 MB / 1.695 GB, free: 211.4 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/3.581, allocations: 1.57 MB / 1.697 GB, free: 211.4 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/3.583, allocations: 0.8032 MB / 1.698 GB, free: 211.4 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/3.585, allocations: 0.8657 MB / 1.698 GB, free: 210.7 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002838/3.588, allocations: 1.004 MB / 1.699 GB, free: 210.6 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=167): time 5.37e-06/3.588, allocations: 0 / 1.699 GB, free: 210.6 MB / 0.9402 GB Notification: Performance of matching and sorting (n=167): time 0.007643/3.595, allocations: 1.939 MB / 1.701 GB, free: 210.4 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/3.595, allocations: 160.5 kB / 1.701 GB, free: 210.2 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009033/3.604, allocations: 3.236 MB / 1.705 GB, free: 209.9 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 0.0008175/3.605, allocations: 77.47 kB / 1.705 GB, free: 209.9 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/3.607, allocations: 1.015 MB / 1.706 GB, free: 209.4 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/3.609, allocations: 471 kB / 1.706 GB, free: 209.1 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/3.609, allocations: 0 / 1.706 GB, free: 209.1 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 0.0002056/3.609, allocations: 387.9 kB / 1.706 GB, free: 208.8 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/3.612, allocations: 0.7372 MB / 1.707 GB, free: 208.8 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/3.615, allocations: 1.352 MB / 1.708 GB, free: 208.1 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/3.619, allocations: 0.9652 MB / 1.709 GB, free: 208.1 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.19e-05/3.619, allocations: 2.719 kB / 1.709 GB, free: 208.1 MB / 0.9402 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.008999/3.628, allocations: 2.451 MB / 1.712 GB, free: 207.9 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.001491/3.63, allocations: 6.867 MB / 1.719 GB, free: 200.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.392e-05/3.63, allocations: 20.73 kB / 1.719 GB, free: 200.7 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/3.63, allocations: 79.03 kB / 1.719 GB, free: 200.7 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/3.633, allocations: 333.4 kB / 1.719 GB, free: 200.7 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007772/3.634, allocations: 0.6717 MB / 1.72 GB, free: 200.1 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/3.637, allocations: 200 kB / 1.72 GB, free: 200.1 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/3.638, allocations: 111.9 kB / 1.72 GB, free: 200.1 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/3.638, allocations: 7.188 kB / 1.72 GB, free: 200.1 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00776/3.646, allocations: 2.079 MB / 1.722 GB, free: 200 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/3.646, allocations: 18.91 kB / 1.722 GB, free: 200 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/3.646, allocations: 85.97 kB / 1.722 GB, free: 200 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/3.649, allocations: 316.7 kB / 1.722 GB, free: 200 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007262/3.65, allocations: 0.683 MB / 1.723 GB, free: 199.5 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/3.653, allocations: 175.1 kB / 1.723 GB, free: 199.5 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006859/3.654, allocations: 103.9 kB / 1.723 GB, free: 199.5 MB / 0.9402 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 136 ($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,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 (266): * Single equations (assignments): 265 * 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.000896/3.655, allocations: 271.2 kB / 1.724 GB, free: 199.3 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/3.656, allocations: 327.5 kB / 1.724 GB, free: 199.1 MB / 0.9402 GB Error: Too many equations, over-determined system. The model has 196 equation(s) and 195 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/3.662, allocations: 1.357 MB / 1.725 GB, free: 199.1 MB / 0.9402 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