Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00117/0.00117, allocations: 203.6 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008233/0.0008234, allocations: 95.8 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09725/0.0981, allocations: 56.9 MB / 343.2 MB, free: 8.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08377/0.1819, allocations: 51.48 MB / 394.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.3905, allocations: 82.98 MB / 477.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.3907, allocations: 72.83 kB / 477.8 MB, free: 9.793 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.03673/0.4274, allocations: 17.05 MB / 494.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4275, allocations: 8 kB / 494.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.428, allocations: 158.4 kB / 495 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.4289, allocations: 0.5443 MB / 495.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.429, allocations: 35.98 kB / 495.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4291, allocations: 60 kB / 495.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008265/0.4299, allocations: 416.1 kB / 496 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4311, allocations: 0.8481 MB / 496.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.4312, allocations: 11.84 kB / 496.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.4313, allocations: 4 kB / 496.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.4313, allocations: 24 kB / 496.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.4361, allocations: 5.387 MB / 0.4905 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.4363, allocations: 199.8 kB / 0.4907 GB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4366, allocations: 140.7 kB / 0.4908 GB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.4367, allocations: 100.1 kB / 0.4909 GB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4368, allocations: 30.56 kB / 0.491 GB, free: 4.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.4368, allocations: 0 / 0.491 GB, free: 4.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002468/0.4392, allocations: 1.319 MB / 0.4923 GB, free: 2.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.4393, allocations: 85.05 kB / 0.4923 GB, free: 2.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.4399, allocations: 0.4973 MB / 0.4928 GB, free: 2.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.44, allocations: 29.7 kB / 0.4929 GB, free: 2.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.4402, allocations: 0.4959 MB / 0.4933 GB, free: 1.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.4403, allocations: 134.2 kB / 0.4935 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.4403, allocations: 0 / 0.4935 GB, free: 1.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4405, allocations: 384.2 kB / 0.4938 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4407, allocations: 104.9 kB / 0.4939 GB, free: 1.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.4411, allocations: 446.7 kB / 0.4944 GB, free: 0.8711 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.Electrical.Analog.Examples.ResonanceCircuits could not be translated to FMU