Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.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.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Subsystems_Examples_CoolingTowersParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Subsystems_Examples_CoolingTowersParallel",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.297/2.297, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001849/0.001848, allocations: 185.3 kB / 487 MB, free: 5.316 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.525/1.525, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.001228/0.001228, allocations: 96.38 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.704/0.7053, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.9859, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.109/6.095, allocations: 2.246 GB / 3.452 GB, free: 45.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/6.095, allocations: 109.2 kB / 3.452 GB, free: 45.14 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 734 * Number of variables: 734 Notification: Performance of Generate backend data structure: time 4.41/10.51, allocations: 1.211 GB / 4.663 GB, free: 136.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/10.51, allocations: 12.25 kB / 4.663 GB, free: 136.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007208/10.51, allocations: 1.063 MB / 4.664 GB, free: 136.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/10.53, allocations: 5.456 MB / 4.669 GB, free: 131.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/10.53, allocations: 99.88 kB / 4.669 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006583/10.53, allocations: 183.8 kB / 4.67 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006458/10.54, allocations: 3.72 MB / 4.673 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005915/10.54, allocations: 3.4 MB / 4.676 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/10.54, allocations: 7.938 kB / 4.676 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/10.54, allocations: 4 kB / 4.676 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/10.54, allocations: 109.5 kB / 4.677 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/10.57, allocations: 15.43 MB / 4.692 GB, free: 108.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/10.57, allocations: 2.019 MB / 4.694 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/10.58, allocations: 1.495 MB / 4.695 GB, free: 104.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/10.59, allocations: 9.212 MB / 4.704 GB, free: 95.05 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/10.6, allocations: 1.59 MB / 4.706 GB, free: 93.45 MB / 1.151 GB Notification: Performance of pre-optimization done (n=218): time 4.909e-06/10.6, allocations: 4 kB / 4.706 GB, free: 93.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=218): time 0.08006/10.68, allocations: 15.93 MB / 4.721 GB, free: 77.74 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/10.68, allocations: 283 kB / 4.721 GB, free: 77.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007092/10.68, allocations: 3.517 MB / 4.725 GB, free: 73.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/10.68, allocations: 33.7 kB / 4.725 GB, free: 73.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/10.69, allocations: 1.147 MB / 4.726 GB, free: 72.69 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/10.69, allocations: 0.7083 MB / 4.727 GB, free: 71.97 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/10.69, allocations: 0 / 4.727 GB, free: 71.97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001639/10.69, allocations: 407 kB / 4.727 GB, free: 71.57 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/10.69, allocations: 1.344 MB / 4.728 GB, free: 70.22 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/10.69, allocations: 2.272 MB / 4.731 GB, free: 67.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1565/10.85, allocations: 32.07 MB / 4.762 GB, free: 35.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-05/10.85, allocations: 4 kB / 4.762 GB, free: 35.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.1663/11.01, allocations: 34.92 MB / 4.796 GB, free: 0.5352 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002597/11.02, allocations: 5.693 MB / 4.802 GB, free: 10.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/11.02, allocations: 16 kB / 4.802 GB, free: 10.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/11.02, allocations: 0.7975 MB / 4.802 GB, free: 9.566 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/11.02, allocations: 0.5656 MB / 4.803 GB, free: 9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7858/11.81, allocations: 35.62 MB / 4.838 GB, free: 297.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005558/11.81, allocations: 412.4 kB / 4.838 GB, free: 297.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008584/11.82, allocations: 136.5 kB / 4.838 GB, free: 297.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/11.82, allocations: 4.781 kB / 4.838 GB, free: 297.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1655/11.98, allocations: 34.43 MB / 4.872 GB, free: 297.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/11.98, allocations: 15 kB / 4.872 GB, free: 297.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/11.98, allocations: 0.7924 MB / 4.873 GB, free: 297.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/11.99, allocations: 0.5516 MB / 4.873 GB, free: 297.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1635/12.15, allocations: 36.55 MB / 4.909 GB, free: 290.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006876/12.16, allocations: 370 kB / 4.909 GB, free: 290.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/12.16, allocations: 128.8 kB / 4.909 GB, free: 290.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 297 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 6,1 6,1 1,1 1,1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00134/12.16, allocations: 168.8 kB / 4.91 GB, free: 290.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/12.16, allocations: 362.5 kB / 4.91 GB, free: 290.5 MB / 1.182 GB Error: Too many equations, over-determined system. The model has 260 equation(s) and 258 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07852/12.24, allocations: 14.61 MB / 4.924 GB, free: 289.3 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel could not be translated to FMU