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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [: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.0009959/0.0009959, allocations: 184 kB / 8.138 MB, free: 2.223 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.058/1.058, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0008481/0.0008481, allocations: 107.2 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08453/0.08541, allocations: 55.82 MB / 336.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.2526, allocations: 50.38 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07655/0.3292, allocations: 79.31 MB / 466.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.3294, allocations: 75.91 kB / 466.4 MB, free: 7.41 MB / 346.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.01862/0.3481, allocations: 8.176 MB / 474.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3481, allocations: 8 kB / 474.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.3482, allocations: 59.25 kB / 474.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.3487, allocations: 359.9 kB / 475 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3487, allocations: 15.98 kB / 475 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.3488, allocations: 24 kB / 475 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003505/0.3492, allocations: 170 kB / 475.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.3497, allocations: 419.3 kB / 475.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.3497, allocations: 7.891 kB / 475.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.3497, allocations: 4 kB / 475.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3497, allocations: 12 kB / 475.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.3518, allocations: 2.733 MB / 478.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.3522, allocations: 150.9 kB / 478.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.3523, allocations: 64.77 kB / 478.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.3524, allocations: 81.11 kB / 478.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3524, allocations: 34.55 kB / 478.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3524, allocations: 0 / 478.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003306/0.3528, allocations: 137.3 kB / 478.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.3528, allocations: 55.39 kB / 478.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.3531, allocations: 285 kB / 479.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3531, allocations: 25.7 kB / 479.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3532, allocations: 258.9 kB / 479.4 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3533, allocations: 63.19 kB / 479.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.3533, allocations: 0 / 479.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3534, allocations: 351.3 kB / 479.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.3535, allocations: 51.94 kB / 479.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3537, allocations: 191.8 kB / 480.1 MB, free: 9.242 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 Error: Internal error SimCode: The model Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs could not be translated to FMU