Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.391/4.391, allocations: 464.6 MB / 476.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.51e-05, allocations: 3.938 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2537, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.342/7.596, allocations: 2.22 GB / 2.897 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/7.596, allocations: 92.81 kB / 2.898 GB, free: 229.2 MB / 0.8855 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.2153/7.812, allocations: 50.3 MB / 2.947 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/7.812, allocations: 0 / 2.947 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001213/7.812, allocations: 31.94 kB / 2.947 GB, free: 186.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002902/7.815, allocations: 1.293 MB / 2.948 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/7.815, allocations: 8.031 kB / 2.948 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002783/7.815, allocations: 157 kB / 2.948 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/7.817, allocations: 282.6 kB / 2.948 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/7.819, allocations: 0.7923 MB / 2.949 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/7.819, allocations: 71.12 kB / 2.949 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/7.819, allocations: 97.8 kB / 2.949 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/7.822, allocations: 1.103 MB / 2.95 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/7.822, allocations: 0 / 2.95 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/7.822, allocations: 44.56 kB / 2.95 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-05/7.822, allocations: 45.98 kB / 2.95 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/7.825, allocations: 1.226 MB / 2.952 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008713/7.834, allocations: 4.351 MB / 2.956 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/7.836, allocations: 0.7607 MB / 2.957 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/7.837, allocations: 317.7 kB / 2.957 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/7.837, allocations: 32.06 kB / 2.957 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009061/7.838, allocations: 448.3 kB / 2.957 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.376e-06/7.838, allocations: 0 / 2.957 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002037/7.84, allocations: 0.7053 MB / 2.958 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/7.84, allocations: 349.2 kB / 2.958 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/7.842, allocations: 0.866 MB / 2.959 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/7.842, allocations: 46.95 kB / 2.959 GB, free: 176 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/7.842, allocations: 0.5203 MB / 2.96 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/7.843, allocations: 261.5 kB / 2.96 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/7.843, allocations: 23.5 kB / 2.96 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/7.843, allocations: 337.8 kB / 2.96 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/7.843, allocations: 222.4 kB / 2.961 GB, free: 175 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/7.844, allocations: 415.7 kB / 2.961 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/7.845, allocations: 292.8 kB / 2.961 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/7.845, allocations: 0 / 2.961 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002072/7.847, allocations: 0.7659 MB / 2.962 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002147/7.847, allocations: 0.9694 MB / 2.963 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/7.847, allocations: 4 kB / 2.963 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/7.848, allocations: 32.42 kB / 2.963 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/7.849, allocations: 171.2 kB / 2.963 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003677/7.849, allocations: 0.5377 MB / 2.964 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/7.851, allocations: 108.9 kB / 2.964 GB, free: 172 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/7.851, allocations: 31.86 kB / 2.964 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/7.851, allocations: 7.938 kB / 2.964 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001626/7.852, allocations: 0.6326 MB / 2.964 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/7.852, allocations: 320 / 2.964 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/7.852, allocations: 16 kB / 2.965 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/7.854, allocations: 170 kB / 2.965 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/7.854, allocations: 15.88 kB / 2.965 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/7.855, allocations: 91.34 kB / 2.965 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/7.855, allocations: 37.86 kB / 2.965 GB, free: 171.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/7.855, allocations: 145.6 kB / 2.965 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/7.856, allocations: 114.3 kB / 2.965 GB, free: 171 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/7.858, allocations: 0.9451 MB / 2.966 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/7.858, allocations: 11.95 kB / 2.966 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/7.859, allocations: 0 / 2.966 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/7.859, allocations: 7.984 kB / 2.966 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/7.863, allocations: 2.29 MB / 2.968 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/7.863, allocations: 0 / 2.968 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/7.864, allocations: 155.8 kB / 2.968 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/7.865, allocations: 28.97 kB / 2.968 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/7.865, allocations: 23.98 kB / 2.968 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009172/7.866, allocations: 1.276 MB / 2.97 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/7.866, allocations: 4.031 kB / 2.97 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/7.868, allocations: 0.9524 MB / 2.971 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006842/7.868, allocations: 323.4 kB / 2.971 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/7.869, allocations: 16 kB / 2.971 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/7.87, allocations: 75.94 kB / 2.971 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/7.87, allocations: 68.62 kB / 2.971 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/7.87, allocations: 31.98 kB / 2.971 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00134/7.871, allocations: 0.6796 MB / 2.972 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.72e-07/7.871, allocations: 7.938 kB / 2.972 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002034/7.874, allocations: 0.5528 MB / 2.972 GB, free: 163.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/7.877, allocations: 2.255 MB / 2.975 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002657/7.88, allocations: 0.9858 MB / 2.975 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/7.88, allocations: 8 kB / 2.975 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/7.881, allocations: 452.6 kB / 2.976 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/7.883, allocations: 294.2 kB / 2.976 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/7.889, allocations: 1.84 MB / 2.978 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/7.89, allocations: 1.163 MB / 2.979 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002968/7.893, allocations: 0.5424 MB / 2.98 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/7.894, allocations: 439.3 kB / 2.98 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.153e-06/7.894, allocations: 0 / 2.98 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/8.017, allocations: 25.15 MB / 3.005 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/8.017, allocations: 231.5 kB / 3.005 GB, free: 130.1 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine.o Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine.c In file included from Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine.c:7: In file included from ./Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.o Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.c In file included from Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.c:2: In file included from ./Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.c:7: In file included from ./Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.o' failed make: *** [Buildings_latest_Buildings_Electrical_DC_Sources_Examples_WindTurbine_functions.o] Error 1