Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") [: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.4933/0.4933, allocations: 94.74 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.00112/0.00112, allocations: 180.1 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.12/1.12, allocations: 170.5 MB / 319 MB, free: 9.344 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.001568/0.001568, allocations: 106.4 kB / 381 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.137e-06/9.177e-06, allocations: 4.219 kB / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9877/1.111, allocations: 414 MB / 0.9024 GB, free: 184 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/1.111, allocations: 92.3 kB / 0.9025 GB, free: 184 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.3613/1.473, allocations: 188.1 MB / 1.086 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.371e-05/1.473, allocations: 24 kB / 1.086 GB, free: 28.68 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002436/1.475, allocations: 1.161 MB / 1.087 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.475, allocations: 13.02 kB / 1.087 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007397/1.476, allocations: 110.9 kB / 1.087 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.478, allocations: 0.6133 MB / 1.088 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/1.478, allocations: 20.12 kB / 1.088 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/1.478, allocations: 40 kB / 1.088 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007127/1.479, allocations: 349.8 kB / 1.088 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/1.48, allocations: 0.4903 MB / 1.089 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.48, allocations: 7.938 kB / 1.089 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/1.48, allocations: 0 / 1.089 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.48, allocations: 12 kB / 1.089 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/1.483, allocations: 2.282 MB / 1.091 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/1.484, allocations: 258.9 kB / 1.091 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/1.484, allocations: 120.8 kB / 1.091 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/1.484, allocations: 11.94 kB / 1.092 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/1.484, allocations: 267.8 kB / 1.092 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.364e-06/1.484, allocations: 4 kB / 1.092 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.0009501/1.485, allocations: 378.5 kB / 1.092 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.485, allocations: 291 kB / 1.092 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/1.486, allocations: 0.5584 MB / 1.093 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/1.486, allocations: 37.7 kB / 1.093 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/1.486, allocations: 311.8 kB / 1.093 GB, free: 21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.486, allocations: 82.89 kB / 1.093 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/1.486, allocations: 4 kB / 1.093 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/1.486, allocations: 330 kB / 1.094 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/1.486, allocations: 200.9 kB / 1.094 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/1.487, allocations: 408.7 kB / 1.094 GB, free: 19.9 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