Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",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 3.2.3+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 176.9 kB / 8.476 MB, free: 1.844 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.119/1.119, allocations: 205.2 MB / 214.1 MB, free: 5.164 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.0008861/0.0008861, allocations: 85.94 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1582/0.1591, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06486/0.224, allocations: 47.58 MB / 362.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.4394, allocations: 80.48 MB / 443.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4396, allocations: 69.28 kB / 443.2 MB, free: 10.61 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.03535/0.475, allocations: 16.66 MB / 459.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4751, allocations: 9.094 kB / 459.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.4754, allocations: 132.8 kB / 460 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.4765, allocations: 0.553 MB / 460.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.4765, allocations: 30.81 kB / 460.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.4767, allocations: 61.22 kB / 460.6 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000955/0.4777, allocations: 416.1 kB / 461 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4789, allocations: 0.8508 MB / 461.9 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.4789, allocations: 10.78 kB / 461.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.479, allocations: 4.344 kB / 461.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.479, allocations: 26.97 kB / 461.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.4832, allocations: 5.391 MB / 467.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.4835, allocations: 204.2 kB / 467.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.4838, allocations: 137.3 kB / 467.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.484, allocations: 88.97 kB / 467.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.484, allocations: 33.22 kB / 467.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/0.4841, allocations: 0 / 467.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.002569/0.4866, allocations: 1.332 MB / 469.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.4867, allocations: 84.64 kB / 469.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.4875, allocations: 0.5009 MB / 469.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4875, allocations: 25.7 kB / 469.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.4878, allocations: 0.4966 MB / 470.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4879, allocations: 127.2 kB / 470.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.488, allocations: 4 kB / 470.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4882, allocations: 382.4 kB / 470.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.4884, allocations: 108.9 kB / 470.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.4888, allocations: 447 kB / 471.3 MB, free: 12.1 MB / 330.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.Electrical.Analog.Examples.ResonanceCircuits could not be translated to FMU