Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.047/2.047, allocations: 390.4 MB / 397.7 MB, free: 1.938 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 181.2 kB / 490.8 MB, free: 7.504 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7863 GB, free: 296 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 87.5 kB / 0.9264 GB, free: 0.6641 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.5999/0.601, allocations: 149.1 MB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.9155, allocations: 143 MB / 1.212 GB, free: 10.52 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/2.005, allocations: 447.1 MB / 1.648 GB, free: 2.496 MB / 1.112 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/2.005, allocations: 91.95 kB / 1.648 GB, free: 2.406 MB / 1.112 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.252/3.257, allocations: 301.4 MB / 1.943 GB, free: 158.4 MB / 1.128 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/3.257, allocations: 12 kB / 1.943 GB, free: 158.4 MB / 1.128 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/3.259, allocations: 0.5061 MB / 1.943 GB, free: 157.9 MB / 1.128 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008125/3.267, allocations: 2.853 MB / 1.946 GB, free: 155 MB / 1.128 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/3.268, allocations: 154.8 kB / 1.946 GB, free: 154.8 MB / 1.128 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/3.269, allocations: 172 kB / 1.946 GB, free: 154.7 MB / 1.128 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006261/3.275, allocations: 2.216 MB / 1.948 GB, free: 152.4 MB / 1.128 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007882/3.283, allocations: 2.566 MB / 1.951 GB, free: 149.7 MB / 1.128 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/3.283, allocations: 7.938 kB / 1.951 GB, free: 149.7 MB / 1.128 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/3.284, allocations: 11.98 kB / 1.951 GB, free: 149.7 MB / 1.128 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-05/3.284, allocations: 68 kB / 1.951 GB, free: 149.6 MB / 1.128 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/3.302, allocations: 12.87 MB / 1.964 GB, free: 136.4 MB / 1.128 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/3.305, allocations: 1.782 MB / 1.965 GB, free: 134.5 MB / 1.128 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/3.306, allocations: 0.9182 MB / 1.966 GB, free: 133.6 MB / 1.128 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/3.307, allocations: 0.8601 MB / 1.967 GB, free: 132.6 MB / 1.128 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/3.309, allocations: 1.119 MB / 1.968 GB, free: 131.4 MB / 1.128 GB Notification: Performance of pre-optimization done (n=181): time 3.577e-06/3.309, allocations: 0 / 1.968 GB, free: 131.4 MB / 1.128 GB Notification: Performance of matching and sorting (n=181): time 0.004602/3.313, allocations: 2.009 MB / 1.97 GB, free: 129.4 MB / 1.128 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/3.313, allocations: 405.8 kB / 1.971 GB, free: 128.9 MB / 1.128 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/3.32, allocations: 3.197 MB / 1.974 GB, free: 125.7 MB / 1.128 GB Notification: Performance of collectPreVariables (initialization): time 0.0006109/3.32, allocations: 81.69 kB / 1.974 GB, free: 125.6 MB / 1.128 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/3.321, allocations: 1.002 MB / 1.975 GB, free: 124.6 MB / 1.128 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006893/3.322, allocations: 493.2 kB / 1.975 GB, free: 124.1 MB / 1.128 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/3.322, allocations: 3.938 kB / 1.975 GB, free: 124.1 MB / 1.128 GB Notification: Performance of setup shared object (initialization): time 0.0001376/3.322, allocations: 390.4 kB / 1.976 GB, free: 123.7 MB / 1.128 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/3.324, allocations: 0.766 MB / 1.976 GB, free: 123 MB / 1.128 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/3.325, allocations: 1.368 MB / 1.978 GB, free: 121.3 MB / 1.128 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/3.327, allocations: 0.9972 MB / 1.979 GB, free: 120.3 MB / 1.128 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/3.327, allocations: 4 kB / 1.979 GB, free: 120.3 MB / 1.128 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005097/3.332, allocations: 2.502 MB / 1.981 GB, free: 117.8 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 0.001402/3.334, allocations: 6.849 MB / 1.988 GB, free: 110.4 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/3.334, allocations: 16 kB / 1.988 GB, free: 110.4 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/3.334, allocations: 80.83 kB / 1.988 GB, free: 110.3 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/3.335, allocations: 339.3 kB / 1.988 GB, free: 110 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005162/3.336, allocations: 0.6771 MB / 1.989 GB, free: 109.3 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/3.338, allocations: 206.7 kB / 1.989 GB, free: 109.1 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/3.338, allocations: 112 kB / 1.989 GB, free: 109 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/3.338, allocations: 4 kB / 1.989 GB, free: 109 MB / 1.128 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004154/3.343, allocations: 2.133 MB / 1.991 GB, free: 106.8 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/3.343, allocations: 16 kB / 1.991 GB, free: 106.8 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/3.343, allocations: 84.95 kB / 1.991 GB, free: 106.7 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/3.344, allocations: 331.3 kB / 1.992 GB, free: 106.4 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005342/3.345, allocations: 0.6771 MB / 1.992 GB, free: 105.7 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/3.347, allocations: 178.9 kB / 1.992 GB, free: 105.5 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/3.347, allocations: 112 kB / 1.993 GB, free: 105.4 MB / 1.128 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.0006583/3.348, allocations: 279.4 kB / 1.993 GB, free: 105.1 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/3.349, allocations: 331.8 kB / 1.993 GB, free: 104.8 MB / 1.128 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.004423/3.354, allocations: 1.375 MB / 1.995 GB, free: 103.4 MB / 1.128 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