Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.00233/0.00233, allocations: 169.9 kB / 8.148 MB, free: 2.699 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.2 MB / 213.7 MB, free: 2.129 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001243, allocations: 93.05 kB / 261.8 MB, free: 1.445 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.237e-05, allocations: 4 kB / 314.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09714, allocations: 47.57 MB / 361.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.3757, allocations: 80.49 MB / 442.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.376, allocations: 67.95 kB / 442.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.06519/0.4412, allocations: 15.59 MB / 458 MB, free: 2.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.4414, allocations: 28 kB / 458 MB, free: 2.617 MB / 334.1 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.003246/0.4447, allocations: 1.047 MB / 459.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4447, allocations: 13.77 kB / 459.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.4452, allocations: 126.4 kB / 459.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.4469, allocations: 0.5548 MB / 459.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.447, allocations: 36 kB / 459.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.4472, allocations: 60 kB / 459.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/0.4487, allocations: 420 kB / 460.3 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.4507, allocations: 0.8397 MB / 461.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.4508, allocations: 12.53 kB / 461.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.4509, allocations: 7.938 kB / 461.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.451, allocations: 24 kB / 461.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007832/0.4588, allocations: 5.382 MB / 466.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.4593, allocations: 202.3 kB / 466.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.4598, allocations: 134.8 kB / 466.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.46, allocations: 101.1 kB / 467 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.46, allocations: 30.56 kB / 467 MB, free: 9.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 7.374e-06/0.46, allocations: 0 / 467 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.004013/0.464, allocations: 1.324 MB / 468.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.4641, allocations: 85.02 kB / 468.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.4651, allocations: 0.5076 MB / 468.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.4652, allocations: 25.7 kB / 468.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.4656, allocations: 0.5113 MB / 469.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4657, allocations: 134.2 kB / 469.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.4658, allocations: 0 / 469.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4659, allocations: 338.8 kB / 469.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.4663, allocations: 105.6 kB / 470 MB, free: 5.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.467, allocations: 450.2 kB / 470.4 MB, free: 5.359 MB / 350.1 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated