Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") [: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 1.6.0+build.1/package.mo): time 0.5459/0.5459, allocations: 94.75 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0012/0.0012, allocations: 172.8 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.306/1.306, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001779/0.001779, allocations: 107.5 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.636e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1604, allocations: 61.52 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.68/12.84, allocations: 5.612 GB / 6.11 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/12.84, allocations: 88.89 kB / 6.11 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.576/20.42, allocations: 1.86 GB / 7.97 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001615/20.42, allocations: 145.2 kB / 7.97 GB, free: 22 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1016 * Number of variables: 1016 Notification: Performance of Generate backend data structure: time 0.02774/20.45, allocations: 6.232 MB / 7.976 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/20.45, allocations: 9 kB / 7.976 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/20.45, allocations: 0.7113 MB / 7.976 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1103/20.56, allocations: 33.69 MB / 8.009 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/20.56, allocations: 124.4 kB / 8.009 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/20.56, allocations: 258.7 kB / 8.01 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01443/20.58, allocations: 5.082 MB / 8.015 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/20.59, allocations: 5.193 MB / 8.02 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/20.59, allocations: 4.156 kB / 8.02 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007341/20.59, allocations: 6.281 kB / 8.02 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/20.59, allocations: 172.2 kB / 8.02 GB, free: 16.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0465/20.64, allocations: 23.77 MB / 8.043 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/20.65, allocations: 2.236 MB / 8.045 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/20.65, allocations: 2.137 MB / 8.047 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/20.65, allocations: 0.8405 MB / 8.048 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005834/20.66, allocations: 2.253 MB / 8.05 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=293): time 3.046e-05/20.66, allocations: 0 / 8.05 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=347): time 0.07959/20.74, allocations: 16.74 MB / 8.067 GB, free: 20.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003815/20.74, allocations: 0.5266 MB / 8.067 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/20.75, allocations: 3.9 MB / 8.071 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001755/20.75, allocations: 35.77 kB / 8.071 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003265/20.76, allocations: 1.511 MB / 8.073 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003131/20.76, allocations: 1.16 MB / 8.074 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008462/20.76, allocations: 6.719 kB / 8.074 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004728/20.76, allocations: 453.3 kB / 8.074 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/20.77, allocations: 2.065 MB / 8.076 GB, free: 17.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/20.77, allocations: 2.892 MB / 8.079 GB, free: 17.06 MB / 0.6042 GB Notification: The given system is mixed-determined. [index = 1] Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn: algorithm if val.CvData == Buildings.Fluid.Types.CvTypes.OpPoint then val.Kv_SI := 0.1 / sqrt(val.dpValve_nominal); val.Kv := 1138419.957660617 * val.Kv_SI / val.rhoStd; val.Cv := 1315945.114289621 * val.Kv_SI / val.rhoStd; val.Av := val.Kv_SI / sqrt(val.rhoStd); elseif val.CvData == Buildings.Fluid.Types.CvTypes.Kv then val.Kv_SI := 8.784104611578831e-07 * val.Kv * val.rhoStd; val.Cv := 1315945.114289621 * val.Kv_SI / val.rhoStd; val.Av := val.Kv_SI / sqrt(val.rhoStd); val.dpValve_nominal := (0.1 / val.Kv_SI) ^ 2.0; elseif val.CvData == Buildings.Fluid.Types.CvTypes.Cv then val.Kv_SI := 7.599101126188108e-07 * val.Cv * val.rhoStd; val.Kv := 1138419.957660617 * val.Kv_SI / val.rhoStd; val.Av := val.Kv_SI / sqrt(val.rhoStd); val.dpValve_nominal := (0.1 / val.Kv_SI) ^ 2.0; else assert(val.CvData == Buildings.Fluid.Types.CvTypes.Av, "Invalid value for CvData. Obtained CvData = " + String(val.CvData, 0, true) + "."); val.Kv_SI := val.Av * sqrt(val.rhoStd); val.Kv := 1138419.957660617 * val.Kv_SI / val.rhoStd; val.Cv := 1315945.114289621 * val.Kv_SI / val.rhoStd; val.dpValve_nominal := (0.1 / val.Kv_SI) ^ 2.0; end if; Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed Error: No system for the symbolic initialization was generated