Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [: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/Complex 3.2.3+maint.om/package.mo): time 0.0009406/0.0009408, allocations: 183.2 kB / 8.481 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.2 MB / 214.1 MB, free: 5.145 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008776/0.0008776, allocations: 94.3 kB / 262.1 MB, free: 5.176 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.762e-06, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.0862, allocations: 47.58 MB / 362.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.3459, allocations: 78.79 MB / 441.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3462, allocations: 69.64 kB / 441.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01716/0.3634, allocations: 7.614 MB / 449 MB, free: 8.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.3634, allocations: 11.66 kB / 449 MB, free: 8.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0006655/0.3641, allocations: 0.6156 MB / 449.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3641, allocations: 7.688 kB / 449.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.3642, allocations: 58.19 kB / 449.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.3646, allocations: 360.4 kB / 450.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3647, allocations: 15.03 kB / 450.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.3647, allocations: 22.84 kB / 450.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003126/0.365, allocations: 173.4 kB / 450.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3655, allocations: 417 kB / 450.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3655, allocations: 11.83 kB / 450.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3655, allocations: 3.844 kB / 450.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3655, allocations: 11.53 kB / 450.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.367, allocations: 2.723 MB / 453.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.3673, allocations: 158.3 kB / 453.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.3674, allocations: 57.3 kB / 453.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.3676, allocations: 80.83 kB / 453.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3676, allocations: 38.44 kB / 453.8 MB, free: 5.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3676, allocations: 4.688 kB / 453.8 MB, free: 5.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003141/0.3679, allocations: 140.9 kB / 453.9 MB, free: 5.227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.3679, allocations: 59.19 kB / 454 MB, free: 5.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3682, allocations: 276.5 kB / 454.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3682, allocations: 25.7 kB / 454.2 MB, free: 4.992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.3683, allocations: 256.8 kB / 454.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3683, allocations: 62.19 kB / 454.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.3683, allocations: 0 / 454.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.3684, allocations: 355.7 kB / 454.9 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.3685, allocations: 56.78 kB / 455 MB, free: 4.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3686, allocations: 189.1 kB / 455.1 MB, free: 4.219 MB / 314.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated