Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [: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.4875/0.4875, allocations: 94.74 MB / 102 MB, free: 10.37 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.00108/0.00108, allocations: 179.7 kB / 125.3 MB, free: 12 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.129/1.129, allocations: 170.5 MB / 319 MB, free: 9.352 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.00159/0.00159, allocations: 110.2 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.173e-05, allocations: 8.219 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 61.51 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.195, allocations: 428 MB / 0.9161 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.195, allocations: 98.81 kB / 0.9162 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463/2.658, allocations: 477.5 MB / 1.383 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000248/2.658, allocations: 46.27 kB / 1.383 GB, free: 86.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004837/2.663, allocations: 1.828 MB / 1.384 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/2.663, allocations: 8.562 kB / 1.384 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/2.665, allocations: 228.4 kB / 1.385 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/2.668, allocations: 1.398 MB / 1.386 GB, free: 84.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/2.668, allocations: 32.62 kB / 1.386 GB, free: 84.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004716/2.669, allocations: 97.11 kB / 1.386 GB, free: 84.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001629/2.671, allocations: 0.7485 MB / 1.387 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/2.672, allocations: 1.009 MB / 1.388 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/2.672, allocations: 6.406 kB / 1.388 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/2.672, allocations: 3.25 kB / 1.388 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/2.672, allocations: 23.31 kB / 1.388 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007941/2.68, allocations: 5.815 MB / 1.394 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/2.681, allocations: 300 kB / 1.394 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/2.681, allocations: 215.5 kB / 1.394 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/2.681, allocations: 341 kB / 1.394 GB, free: 81.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/2.681, allocations: 45.69 kB / 1.394 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/2.681, allocations: 0 / 1.394 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005693/2.687, allocations: 1.747 MB / 1.396 GB, free: 80.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/2.687, allocations: 136.8 kB / 1.396 GB, free: 80.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/2.689, allocations: 1.018 MB / 1.397 GB, free: 80.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/2.689, allocations: 42.8 kB / 1.397 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/2.69, allocations: 0.5619 MB / 1.398 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/2.69, allocations: 168.4 kB / 1.398 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/2.69, allocations: 10.88 kB / 1.398 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001271/2.69, allocations: 347.9 kB / 1.398 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/2.691, allocations: 376.4 kB / 1.399 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/2.692, allocations: 0.6931 MB / 1.399 GB, free: 79.3 MB / 0.5261 GB Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn: algorithm if valLin.CvData == Buildings.Fluid.Types.CvTypes.OpPoint then valLin.Kv_SI := valLin.m_flow_nominal / sqrt(valLin.dpValve_nominal); valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); elseif valLin.CvData == Buildings.Fluid.Types.CvTypes.Kv then valLin.Kv_SI := 8.784104611578831e-07 * valLin.Kv * valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; elseif valLin.CvData == Buildings.Fluid.Types.CvTypes.Cv then valLin.Kv_SI := 7.599101126188108e-07 * valLin.Cv * valLin.rhoStd; valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; else assert(valLin.CvData == Buildings.Fluid.Types.CvTypes.Av, "Invalid value for CvData. Obtained CvData = " + String(valLin.CvData, 0, true) + "."); valLin.Kv_SI := valLin.Av * sqrt(valLin.rhoStd); valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; end if; Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed Error: No system for the symbolic initialization was generated