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: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 187.7 kB / 8.134 MB, free: 2.207 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.22/1.22, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009418/0.000942, allocations: 99.16 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.322e-06, allocations: 0 / 336.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 50.39 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08423/0.2758, allocations: 82.17 MB / 469.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.2761, allocations: 79.67 kB / 469.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.038/0.3141, allocations: 15.89 MB / 485 MB, free: 4.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.255e-05/0.3142, allocations: 28 kB / 485.1 MB, free: 4.387 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.001383/0.3155, allocations: 1.056 MB / 486.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3156, allocations: 12.03 kB / 486.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.3158, allocations: 130.4 kB / 486.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.3166, allocations: 0.5508 MB / 486.8 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.3166, allocations: 32 kB / 486.8 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.364e-05/0.3167, allocations: 56 kB / 486.9 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007436/0.3175, allocations: 420 kB / 487.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3186, allocations: 0.8435 MB / 488.2 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.3186, allocations: 15.83 kB / 488.2 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.3187, allocations: 0 / 488.2 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.3187, allocations: 28 kB / 488.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.323, allocations: 5.388 MB / 493.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3232, allocations: 197 kB / 493.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.3235, allocations: 141.6 kB / 493.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.3236, allocations: 89.08 kB / 494 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3237, allocations: 42.75 kB / 494 MB, free: 10.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.3237, allocations: 0 / 494 MB, free: 10.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002253/0.3259, allocations: 1.321 MB / 495.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.462e-05/0.326, allocations: 81.11 kB / 495.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.3265, allocations: 0.5036 MB / 496 MB, free: 8.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3265, allocations: 25.7 kB / 496 MB, free: 8.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.3268, allocations: 0.501 MB / 496.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.3268, allocations: 130.2 kB / 496.6 MB, free: 8.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.3269, allocations: 0 / 496.6 MB, free: 8.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.327, allocations: 386.7 kB / 497 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3272, allocations: 105.6 kB / 497.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3275, allocations: 446.3 kB / 497.5 MB, free: 7.078 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