Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.579/4.579, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.607e-05/4.64e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.28/7.543, allocations: 2.224 GB / 2.901 GB, free: 227 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/7.544, allocations: 94.58 kB / 2.902 GB, free: 227 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.3083/7.852, allocations: 68.24 MB / 2.968 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/7.852, allocations: 0 / 2.968 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001514/7.852, allocations: 36 kB / 2.968 GB, free: 168.2 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: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.005379/7.858, allocations: 1.557 MB / 2.97 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/7.858, allocations: 12.03 kB / 2.97 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006831/7.858, allocations: 211 kB / 2.97 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009737/7.868, allocations: 0.8055 MB / 2.971 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/7.871, allocations: 0.889 MB / 2.972 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/7.871, allocations: 108 kB / 2.972 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005713/7.872, allocations: 135.4 kB / 2.972 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/7.877, allocations: 1.698 MB / 2.973 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/7.877, allocations: 0 / 2.973 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/7.877, allocations: 62.19 kB / 2.974 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-05/7.877, allocations: 66.75 kB / 2.974 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005434/7.883, allocations: 1.915 MB / 2.975 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/7.9, allocations: 6.148 MB / 2.981 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/7.904, allocations: 1.283 MB / 2.983 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/7.906, allocations: 0.6057 MB / 2.983 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/7.907, allocations: 490.6 kB / 2.984 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/7.909, allocations: 0.782 MB / 2.985 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=128): time 6.041e-06/7.909, allocations: 0 / 2.985 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128): time 0.003848/7.913, allocations: 1.235 MB / 2.986 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/7.913, allocations: 351.1 kB / 2.986 GB, free: 151 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/7.915, allocations: 0.7707 MB / 2.987 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/7.915, allocations: 49.7 kB / 2.987 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/7.916, allocations: 0.5935 MB / 2.987 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006483/7.916, allocations: 421.9 kB / 2.988 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/7.917, allocations: 20 kB / 2.988 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001071/7.917, allocations: 349.9 kB / 2.988 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/7.918, allocations: 466.5 kB / 2.989 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/7.92, allocations: 0.6506 MB / 2.989 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/7.921, allocations: 0.522 MB / 2.99 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/7.921, allocations: 0 / 2.99 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004109/7.925, allocations: 1.328 MB / 2.991 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002483/7.926, allocations: 1.052 MB / 2.992 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/7.926, allocations: 4 kB / 2.992 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/7.926, allocations: 32.84 kB / 2.992 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/7.93, allocations: 327.5 kB / 2.993 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004765/7.93, allocations: 0.5445 MB / 2.993 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/7.933, allocations: 190.8 kB / 2.993 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/7.934, allocations: 55.95 kB / 2.993 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/7.934, allocations: 6.188 kB / 2.993 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003527/7.937, allocations: 1.191 MB / 2.994 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/7.937, allocations: 4.062 kB / 2.994 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/7.937, allocations: 8 kB / 2.994 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/7.941, allocations: 327.5 kB / 2.995 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/7.941, allocations: 15.92 kB / 2.995 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/7.944, allocations: 183 kB / 2.995 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004658/7.945, allocations: 63.83 kB / 2.995 GB, free: 141.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (147): * Single equations (assignments): 146 * 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.0006159/7.945, allocations: 179 kB / 2.995 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005455/7.946, allocations: 118.5 kB / 2.995 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/7.952, allocations: 1.638 MB / 2.997 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/7.952, allocations: 12 kB / 2.997 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/7.952, allocations: 0 / 2.997 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/7.952, allocations: 11.97 kB / 2.997 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009035/7.961, allocations: 3.452 MB / 3 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/7.961, allocations: 3.938 kB / 3 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/7.964, allocations: 303.7 kB / 3.001 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/7.964, allocations: 32.84 kB / 3.001 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/7.965, allocations: 39.97 kB / 3.001 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009964/7.966, allocations: 1.288 MB / 3.002 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/7.966, allocations: 4.031 kB / 3.002 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/7.97, allocations: 1.501 MB / 3.003 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/7.971, allocations: 415 kB / 3.004 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/7.971, allocations: 27.98 kB / 3.004 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/7.974, allocations: 131.9 kB / 3.004 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/7.974, allocations: 93.17 kB / 3.004 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/7.974, allocations: 47.97 kB / 3.004 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001266/7.976, allocations: 0.6295 MB / 3.005 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/7.976, allocations: 0 / 3.005 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002943/7.979, allocations: 0.732 MB / 3.005 GB, free: 130.7 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 (142): * Single equations (assignments): 139 * 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.005754/7.985, allocations: 2.83 MB / 3.008 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006549/7.991, allocations: 1.895 MB / 3.01 GB, free: 126 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/7.991, allocations: 0 / 3.01 GB, free: 126 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/7.993, allocations: 0.7602 MB / 3.011 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/7.996, allocations: 285.7 kB / 3.011 GB, free: 125 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/8.005, allocations: 2.33 MB / 3.013 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008978/8.006, allocations: 1.27 MB / 3.015 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004972/8.01, allocations: 0.6222 MB / 3.015 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/8.012, allocations: 0.55 MB / 3.016 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/8.012, allocations: 0 / 3.016 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09157/8.104, allocations: 30.92 MB / 3.046 GB, free: 89.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/8.104, allocations: 224.1 kB / 3.046 GB, free: 89.19 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_PVSimple.o Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple.c In file included from Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple.c:7: In file included from ./Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple_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_PVSimple_functions.o Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.c In file included from Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.c:2: In file included from ./Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple_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_PVSimple_functions.c:7: In file included from ./Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple_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_PVSimple_functions.o' failed make: *** [Buildings_latest_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.o] Error 1