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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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 4.138/4.138, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5312/4.669, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/4.968, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.383/10.35, allocations: 2.243 GB / 2.871 GB, free: 104.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/10.35, allocations: 116.4 kB / 2.871 GB, free: 104.4 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.9967/11.35, allocations: 152.1 MB / 3.02 GB, free: 233.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/11.35, allocations: 7.312 kB / 3.02 GB, free: 233.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/11.36, allocations: 0.9342 MB / 3.021 GB, free: 233.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008046/11.37, allocations: 2.203 MB / 3.023 GB, free: 232.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/11.37, allocations: 98.81 kB / 3.023 GB, free: 232.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002303/11.37, allocations: 180.7 kB / 3.023 GB, free: 232.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01676/11.39, allocations: 3.693 MB / 3.027 GB, free: 232.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/11.4, allocations: 4.035 MB / 3.031 GB, free: 232.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/11.4, allocations: 6.5 kB / 3.031 GB, free: 232.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009191/11.4, allocations: 9.5 kB / 3.031 GB, free: 232.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/11.4, allocations: 189.6 kB / 3.031 GB, free: 232.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04868/11.45, allocations: 19.22 MB / 3.05 GB, free: 221.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/11.46, allocations: 1.763 MB / 3.051 GB, free: 221.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003645/11.46, allocations: 1.209 MB / 3.053 GB, free: 221.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/11.46, allocations: 0.5636 MB / 3.053 GB, free: 221.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002966/11.46, allocations: 1.105 MB / 3.054 GB, free: 221.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 5.47e-06/11.46, allocations: 4 kB / 3.054 GB, free: 221.1 MB / 0.823 GB Error: Internal error It is not possible to select continues time states because Number of Equations 35 greater than number of States 34 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine could not be translated to FMU