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: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [: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.001111/0.001111, allocations: 204.2 kB / 8.54 MB, free: 1.746 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008821/0.0008821, allocations: 94.55 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.426e-06, allocations: 4 kB / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08888, allocations: 51.48 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.3118, allocations: 82.98 MB / 477.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.312, allocations: 72.73 kB / 477.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03517/0.3472, allocations: 15.95 MB / 493.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.503e-05/0.3473, allocations: 31.98 kB / 493.7 MB, free: 12.9 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001829/0.3491, allocations: 1.048 MB / 494.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3492, allocations: 12.03 kB / 494.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.3497, allocations: 150.4 kB / 494.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3507, allocations: 0.5549 MB / 495.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.3507, allocations: 36 kB / 495.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3509, allocations: 56 kB / 495.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008405/0.3517, allocations: 418.5 kB / 495.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.3529, allocations: 0.8449 MB / 496.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.3529, allocations: 11.84 kB / 496.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.353, allocations: 4 kB / 496.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.353, allocations: 28 kB / 496.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.3573, allocations: 5.392 MB / 0.4904 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.3576, allocations: 198.7 kB / 0.4906 GB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3578, allocations: 136.8 kB / 0.4908 GB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3579, allocations: 100.7 kB / 0.4908 GB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.358, allocations: 34.56 kB / 0.4909 GB, free: 4.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.754e-06/0.358, allocations: 0 / 0.4909 GB, free: 4.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002304/0.3603, allocations: 1.328 MB / 0.4922 GB, free: 3.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3603, allocations: 85.05 kB / 0.4923 GB, free: 2.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.3609, allocations: 0.4888 MB / 0.4927 GB, free: 2.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3609, allocations: 29.7 kB / 0.4928 GB, free: 2.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.3612, allocations: 0.4993 MB / 0.4933 GB, free: 2.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/0.3613, allocations: 129.4 kB / 0.4934 GB, free: 2.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.3614, allocations: 0 / 0.4934 GB, free: 2.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3615, allocations: 387.7 kB / 0.4937 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3617, allocations: 103.7 kB / 0.4938 GB, free: 1.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.3621, allocations: 449.2 kB / 0.4943 GB, free: 1.047 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