Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 184.5 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.4 MB / 229.9 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 91.67 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.891e-06, allocations: 0 / 336.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08183/0.2855, allocations: 79.31 MB / 466.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.2857, allocations: 73.52 kB / 466.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01893/0.3047, allocations: 7.543 MB / 473.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.839e-05/0.3047, allocations: 15.98 kB / 473.8 MB, free: 15.83 MB / 362.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.0007703/0.3055, allocations: 0.6073 MB / 474.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3056, allocations: 12.03 kB / 474.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.3057, allocations: 55.25 kB / 474.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.3061, allocations: 363.9 kB / 474.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3062, allocations: 16 kB / 474.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.3062, allocations: 24 kB / 474.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003645/0.3066, allocations: 170 kB / 475.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.3071, allocations: 421.7 kB / 475.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3072, allocations: 3.906 kB / 475.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3072, allocations: 4 kB / 475.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.3072, allocations: 12 kB / 475.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.3093, allocations: 2.725 MB / 478.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3097, allocations: 158.6 kB / 478.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.3098, allocations: 60.89 kB / 478.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.3099, allocations: 89.11 kB / 478.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3099, allocations: 30.56 kB / 478.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.3099, allocations: 0 / 478.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003365/0.3103, allocations: 141.3 kB / 478.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3103, allocations: 51.41 kB / 478.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.3106, allocations: 281 kB / 479 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3107, allocations: 29.69 kB / 479.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3108, allocations: 262.9 kB / 479.3 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.3109, allocations: 59.19 kB / 479.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.3109, allocations: 0 / 479.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3111, allocations: 351.2 kB / 479.7 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.627e-05/0.3112, allocations: 48 kB / 479.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3114, allocations: 191.7 kB / 480 MB, free: 9.277 MB / 362.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