Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.496/4.496, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.794e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.158/7.384, allocations: 2.195 GB / 2.867 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/7.385, allocations: 89.75 kB / 2.867 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2874/7.672, allocations: 76.4 MB / 2.941 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/7.672, allocations: 0 / 2.941 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.634e-05/7.672, allocations: 28 kB / 2.941 GB, free: 209.1 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003002/7.675, allocations: 1.3 MB / 2.943 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/7.675, allocations: 12.03 kB / 2.943 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/7.676, allocations: 173.8 kB / 2.943 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/7.689, allocations: 1.335 MB / 2.944 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/7.691, allocations: 0.8103 MB / 2.945 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/7.692, allocations: 82.27 kB / 2.945 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/7.692, allocations: 107.1 kB / 2.945 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/7.696, allocations: 1.545 MB / 2.947 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/7.696, allocations: 0 / 2.947 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/7.696, allocations: 48.44 kB / 2.947 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/7.696, allocations: 28 kB / 2.947 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/7.701, allocations: 1.934 MB / 2.949 GB, free: 203 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/7.712, allocations: 4.14 MB / 2.953 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/7.717, allocations: 1.777 MB / 2.954 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/7.719, allocations: 0.7024 MB / 2.955 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/7.719, allocations: 0.6023 MB / 2.956 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/7.722, allocations: 0.9398 MB / 2.956 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=120): time 3.757e-06/7.722, allocations: 0 / 2.956 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120): time 0.005033/7.727, allocations: 1.528 MB / 2.958 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/7.727, allocations: 252.3 kB / 2.958 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/7.728, allocations: 0.6758 MB / 2.959 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/7.728, allocations: 49.7 kB / 2.959 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/7.729, allocations: 448.7 kB / 2.959 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/7.729, allocations: 402.1 kB / 2.96 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/7.729, allocations: 20 kB / 2.96 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/7.73, allocations: 349.9 kB / 2.96 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/7.731, allocations: 0.5922 MB / 2.961 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/7.733, allocations: 0.7358 MB / 2.961 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/7.735, allocations: 0.5904 MB / 2.962 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/7.735, allocations: 0 / 2.962 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005143/7.74, allocations: 1.547 MB / 2.963 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/7.74, allocations: 8 kB / 2.963 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/7.74, allocations: 0 / 2.963 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009915/7.741, allocations: 84.88 kB / 2.964 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/7.745, allocations: 463.3 kB / 2.964 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/7.748, allocations: 1.529 MB / 2.965 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/7.752, allocations: 322.8 kB / 2.966 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/7.752, allocations: 51.94 kB / 2.966 GB, free: 186.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 124 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004737/7.753, allocations: 164.8 kB / 2.966 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/7.753, allocations: 106.7 kB / 2.966 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006599/7.76, allocations: 2 MB / 2.968 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/7.76, allocations: 12 kB / 2.968 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/7.76, allocations: 0 / 2.968 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/7.76, allocations: 11.91 kB / 2.968 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009041/7.769, allocations: 3.562 MB / 2.972 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/7.769, allocations: 0 / 2.972 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004453/7.774, allocations: 467.3 kB / 2.972 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/7.775, allocations: 80.78 kB / 2.972 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/7.775, allocations: 51.89 kB / 2.972 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/7.777, allocations: 1.556 MB / 2.974 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/7.777, allocations: 0 / 2.974 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005164/7.782, allocations: 1.739 MB / 2.975 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/7.784, allocations: 427.2 kB / 2.976 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/7.784, allocations: 31.88 kB / 2.976 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/7.788, allocations: 287.7 kB / 2.976 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/7.788, allocations: 89.19 kB / 2.976 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/7.789, allocations: 55.94 kB / 2.976 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001012/7.79, allocations: 0.5538 MB / 2.977 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/7.79, allocations: 0 / 2.977 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001998/7.792, allocations: 499 kB / 2.977 GB, free: 174.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00775/7.799, allocations: 3.259 MB / 2.98 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004721/7.804, allocations: 1.576 MB / 2.982 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/7.804, allocations: 0 / 2.982 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/7.807, allocations: 0.9241 MB / 2.983 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/7.809, allocations: 261.5 kB / 2.983 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/7.817, allocations: 2.328 MB / 2.985 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/7.818, allocations: 1.151 MB / 2.986 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002805/7.821, allocations: 468.1 kB / 2.987 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/7.822, allocations: 0.4953 MB / 2.987 GB, free: 164 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/7.822, allocations: 4 kB / 2.987 GB, free: 164 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/7.94, allocations: 39.62 MB / 3.026 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/7.941, allocations: 239.1 kB / 3.026 GB, free: 124.2 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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_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_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1