Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.4921/0.4921, 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.001125/0.001125, allocations: 179.5 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.134/1.134, allocations: 170.5 MB / 319 MB, free: 9.395 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.001711/0.001712, allocations: 106.3 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.145e-06, allocations: 4.219 kB / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.964/1.097, allocations: 412.7 MB / 0.9011 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.097, allocations: 94.92 kB / 0.9012 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.27/1.367, allocations: 138.3 MB / 1.036 GB, free: 77.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.901e-05/1.367, allocations: 15.98 kB / 1.036 GB, free: 77.05 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001568/1.369, allocations: 0.855 MB / 1.037 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.369, allocations: 12.97 kB / 1.037 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/1.369, allocations: 79.23 kB / 1.037 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/1.37, allocations: 464.7 kB / 1.038 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.37, allocations: 8 kB / 1.038 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/1.371, allocations: 28 kB / 1.038 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004183/1.371, allocations: 181.2 kB / 1.038 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/1.372, allocations: 313.8 kB / 1.038 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.372, allocations: 0 / 1.038 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/1.372, allocations: 0 / 1.038 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/1.372, allocations: 15.84 kB / 1.038 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/1.374, allocations: 1.774 MB / 1.04 GB, free: 73.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/1.375, allocations: 98.55 kB / 1.04 GB, free: 73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/1.375, allocations: 32.86 kB / 1.04 GB, free: 72.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/1.375, allocations: 0 / 1.04 GB, free: 72.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/1.375, allocations: 34.56 kB / 1.04 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.375, allocations: 0 / 1.04 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006563/1.376, allocations: 157.2 kB / 1.04 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.376, allocations: 110.8 kB / 1.04 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/1.376, allocations: 430 kB / 1.041 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/1.376, allocations: 29.7 kB / 1.041 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/1.376, allocations: 235.5 kB / 1.041 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.376, allocations: 39.39 kB / 1.041 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/1.376, allocations: 4 kB / 1.041 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.376, allocations: 358.8 kB / 1.041 GB, free: 71.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.377, allocations: 91.98 kB / 1.041 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/1.377, allocations: 265.3 kB / 1.042 GB, free: 71.1 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