Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.408/4.408, allocations: 460.4 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.153e-05, allocations: 4 kB / 0.5682 GB, free: 10.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2315, allocations: 106.2 MB / 0.6719 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.146/7.378, allocations: 2.196 GB / 2.868 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/7.378, allocations: 88.36 kB / 2.868 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2828/7.661, allocations: 75.05 MB / 2.942 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.844e-06/7.661, allocations: 0 / 2.942 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001033/7.661, allocations: 39.94 kB / 2.942 GB, free: 209.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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003368/7.665, allocations: 1.313 MB / 2.943 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/7.665, allocations: 12.03 kB / 2.943 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00038/7.665, allocations: 174.2 kB / 2.943 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/7.68, allocations: 1.346 MB / 2.944 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/7.682, allocations: 0.8762 MB / 2.945 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.993e-05/7.682, allocations: 88.28 kB / 2.945 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/7.683, allocations: 107.5 kB / 2.945 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/7.687, allocations: 1.646 MB / 2.947 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/7.687, allocations: 7.891 kB / 2.947 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/7.688, allocations: 47.44 kB / 2.947 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/7.688, allocations: 32 kB / 2.947 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005695/7.694, allocations: 2.098 MB / 2.949 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/7.708, allocations: 4.565 MB / 2.954 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/7.716, allocations: 1.989 MB / 2.955 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/7.719, allocations: 0.7783 MB / 2.956 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008238/7.72, allocations: 0.6023 MB / 2.957 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00382/7.723, allocations: 1.037 MB / 2.958 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=121): time 6.422e-06/7.723, allocations: 0 / 2.958 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121): time 0.00784/7.731, allocations: 1.668 MB / 2.959 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/7.732, allocations: 244.3 kB / 2.96 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/7.734, allocations: 0.7033 MB / 2.96 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005164/7.734, allocations: 49.7 kB / 2.96 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/7.735, allocations: 468.6 kB / 2.961 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00069/7.735, allocations: 406.1 kB / 2.961 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/7.736, allocations: 20 kB / 2.961 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001179/7.736, allocations: 341.9 kB / 2.962 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/7.739, allocations: 0.682 MB / 2.962 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/7.741, allocations: 0.8139 MB / 2.963 GB, free: 190 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/7.744, allocations: 0.6607 MB / 2.964 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/7.744, allocations: 0 / 2.964 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007656/7.752, allocations: 1.696 MB / 2.965 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/7.752, allocations: 10.81 kB / 2.965 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/7.752, allocations: 0 / 2.965 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/7.753, allocations: 88.81 kB / 2.965 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006363/7.759, allocations: 459.3 kB / 2.966 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/7.763, allocations: 1.532 MB / 2.967 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/7.768, allocations: 318.9 kB / 2.968 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003839/7.769, allocations: 55.94 kB / 2.968 GB, free: 185 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 (126): * Single equations (assignments): 125 * 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.0006844/7.769, allocations: 166.5 kB / 2.968 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/7.77, allocations: 102.8 kB / 2.968 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/7.78, allocations: 2.133 MB / 2.97 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/7.78, allocations: 19.95 kB / 2.97 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/7.78, allocations: 3.938 kB / 2.97 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/7.78, allocations: 7.969 kB / 2.97 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/7.794, allocations: 3.966 MB / 2.974 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/7.794, allocations: 4 kB / 2.974 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004778/7.799, allocations: 467.4 kB / 2.974 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008833/7.8, allocations: 88.77 kB / 2.975 GB, free: 178 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004113/7.8, allocations: 43.95 kB / 2.975 GB, free: 178 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/7.803, allocations: 1.552 MB / 2.976 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/7.803, allocations: 0 / 2.976 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/7.808, allocations: 1.887 MB / 2.978 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/7.81, allocations: 471.1 kB / 2.978 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/7.81, allocations: 24 kB / 2.978 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/7.814, allocations: 283.7 kB / 2.979 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/7.814, allocations: 89.14 kB / 2.979 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/7.814, allocations: 59.94 kB / 2.979 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001063/7.815, allocations: 0.5655 MB / 2.979 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/7.815, allocations: 0 / 2.979 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002182/7.818, allocations: 0.5029 MB / 2.98 GB, free: 172.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 (135): * Single equations (assignments): 132 * 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.007944/7.826, allocations: 3.397 MB / 2.983 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004818/7.831, allocations: 1.736 MB / 2.985 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/7.831, allocations: 4 kB / 2.985 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/7.833, allocations: 1.01 MB / 2.986 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/7.835, allocations: 262.9 kB / 2.986 GB, free: 166 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/7.844, allocations: 2.461 MB / 2.989 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/7.845, allocations: 1.171 MB / 2.99 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002997/7.848, allocations: 464.4 kB / 2.99 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/7.849, allocations: 0.507 MB / 2.991 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/7.849, allocations: 0 / 2.991 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/7.959, allocations: 40.71 MB / 3.03 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/7.959, allocations: 222 kB / 3.031 GB, free: 120.6 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_Examples_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o] Error 1