Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [: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.4759/0.4759, allocations: 94.74 MB / 102 MB, free: 10.35 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.001189/0.001189, allocations: 170.7 kB / 125.3 MB, free: 11.98 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.113/1.113, allocations: 170.5 MB / 319 MB, free: 9.406 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.001825/0.001825, allocations: 104 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.358e-06, allocations: 4.219 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9855/1.118, allocations: 411.5 MB / 0.8999 GB, free: 185 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.119, allocations: 89 kB / 0.9 GB, free: 185 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.3511/1.47, allocations: 183.2 MB / 1.079 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.586e-05/1.47, allocations: 16 kB / 1.079 GB, free: 36.34 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001943/1.472, allocations: 0.9368 MB / 1.08 GB, free: 35.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.472, allocations: 8.781 kB / 1.08 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/1.473, allocations: 95.05 kB / 1.08 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/1.474, allocations: 0.5072 MB / 1.08 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/1.474, allocations: 20 kB / 1.081 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.474, allocations: 36 kB / 1.081 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004465/1.474, allocations: 225.5 kB / 1.081 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/1.475, allocations: 359.1 kB / 1.081 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.475, allocations: 4 kB / 1.081 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/1.475, allocations: 0 / 1.081 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.475, allocations: 8 kB / 1.081 GB, free: 34.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/1.477, allocations: 1.969 MB / 1.083 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/1.478, allocations: 130.5 kB / 1.083 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/1.478, allocations: 48.89 kB / 1.083 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/1.478, allocations: 8 kB / 1.083 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.478, allocations: 34.56 kB / 1.083 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/1.478, allocations: 0 / 1.083 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0007957/1.479, allocations: 197.3 kB / 1.083 GB, free: 31.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.479, allocations: 114.7 kB / 1.084 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/1.479, allocations: 442.3 kB / 1.084 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/1.479, allocations: 29.7 kB / 1.084 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/1.479, allocations: 267.2 kB / 1.084 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/1.48, allocations: 51.27 kB / 1.084 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/1.48, allocations: 4 kB / 1.084 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.48, allocations: 366.8 kB / 1.085 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.48, allocations: 124 kB / 1.085 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/1.48, allocations: 284.5 kB / 1.085 GB, free: 29.73 MB / 0.5261 GB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated