Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00098/0.00098, allocations: 181.5 kB / 8.131 MB, free: 2.215 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.104/1.104, allocations: 221.4 MB / 230 MB, free: 3.309 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.0009237/0.0009237, allocations: 94.86 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09239/0.09334, allocations: 55.82 MB / 336.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.2859, allocations: 50.39 MB / 387 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08212/0.3681, allocations: 82.17 MB / 469.2 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.3683, allocations: 71.91 kB / 469.2 MB, free: 4.512 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.0387/0.407, allocations: 16.98 MB / 486.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4071, allocations: 8 kB / 486.2 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.4073, allocations: 126.4 kB / 486.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.4081, allocations: 0.5627 MB / 486.9 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.4081, allocations: 32 kB / 486.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.4082, allocations: 56 kB / 487 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007696/0.409, allocations: 419.9 kB / 487.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4102, allocations: 0.8418 MB / 488.3 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.4102, allocations: 11.84 kB / 488.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.4103, allocations: 4 kB / 488.3 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.4103, allocations: 28 kB / 488.3 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.4148, allocations: 5.388 MB / 493.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.4151, allocations: 205 kB / 493.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.4153, allocations: 141.7 kB / 494 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4154, allocations: 81.11 kB / 494.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4155, allocations: 42.5 kB / 494.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.4155, allocations: 0 / 494.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002277/0.4178, allocations: 1.328 MB / 495.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4178, allocations: 81.11 kB / 495.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.4183, allocations: 0.4958 MB / 496 MB, free: 8.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4184, allocations: 25.7 kB / 496.1 MB, free: 8.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.4186, allocations: 0.501 MB / 496.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.4187, allocations: 130.2 kB / 496.7 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.4187, allocations: 0 / 496.7 MB, free: 8.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4189, allocations: 386.7 kB / 497.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.4191, allocations: 101.6 kB / 497.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.4194, allocations: 458.2 kB / 497.6 MB, free: 7.039 MB / 378.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