Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",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 loadModel(Buildings): time 3.939/3.939, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.584/4.523, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/4.747, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.352/10.1, allocations: 2.245 GB / 2.873 GB, free: 113.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/10.1, allocations: 107.8 kB / 2.873 GB, free: 113 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.9591/11.06, allocations: 141.6 MB / 3.011 GB, free: 233 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/11.06, allocations: 11.16 kB / 3.011 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/11.07, allocations: 0.9205 MB / 3.012 GB, free: 232.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008305/11.08, allocations: 2.057 MB / 3.014 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/11.08, allocations: 102.2 kB / 3.014 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/11.08, allocations: 179.1 kB / 3.015 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01253/11.09, allocations: 3.653 MB / 3.018 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/11.11, allocations: 3.956 MB / 3.022 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/11.11, allocations: 8.156 kB / 3.022 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007822/11.11, allocations: 3.156 kB / 3.022 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/11.11, allocations: 175.7 kB / 3.022 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04087/11.15, allocations: 17.94 MB / 3.04 GB, free: 222.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/11.15, allocations: 1.718 MB / 3.041 GB, free: 222.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/11.16, allocations: 0.9499 MB / 3.042 GB, free: 222.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/11.16, allocations: 0.5608 MB / 3.043 GB, free: 221.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00269/11.16, allocations: 1.086 MB / 3.044 GB, free: 221.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 5.681e-06/11.16, allocations: 0 / 3.044 GB, free: 221.7 MB / 0.823 GB Error: Internal error It is not possible to select continues time states because Number of Equations 33 greater than number of States 32 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N could not be translated to FMU