Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.452/4.452, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.456e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2351, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.524/7.759, allocations: 2.197 GB / 2.874 GB, free: 254.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/7.759, allocations: 86.14 kB / 2.875 GB, free: 254.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2808/8.04, allocations: 75.04 MB / 2.948 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.893e-06/8.04, allocations: 0 / 2.948 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001057/8.04, allocations: 36 kB / 2.948 GB, free: 189.6 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.003277/8.044, allocations: 1.318 MB / 2.949 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/8.044, allocations: 8.031 kB / 2.949 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003812/8.044, allocations: 176.7 kB / 2.949 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/8.059, allocations: 1.351 MB / 2.951 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/8.061, allocations: 0.8728 MB / 2.951 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/8.061, allocations: 86.97 kB / 2.952 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/8.062, allocations: 118.9 kB / 2.952 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/8.067, allocations: 1.638 MB / 2.953 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/8.067, allocations: 0 / 2.953 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/8.067, allocations: 56.44 kB / 2.953 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/8.067, allocations: 28 kB / 2.953 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005874/8.073, allocations: 2.108 MB / 2.955 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/8.087, allocations: 4.556 MB / 2.96 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/8.092, allocations: 1.988 MB / 2.962 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/8.094, allocations: 0.7783 MB / 2.963 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/8.094, allocations: 0.6062 MB / 2.963 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002275/8.097, allocations: 1.022 MB / 2.964 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=121): time 4.078e-06/8.097, allocations: 0 / 2.964 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121): time 0.005234/8.102, allocations: 1.676 MB / 2.966 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/8.102, allocations: 248.3 kB / 2.966 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/8.103, allocations: 0.7071 MB / 2.967 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002399/8.103, allocations: 49.7 kB / 2.967 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/8.104, allocations: 468.6 kB / 2.967 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004446/8.104, allocations: 398.1 kB / 2.968 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/8.105, allocations: 20 kB / 2.968 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/8.105, allocations: 345.9 kB / 2.968 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/8.106, allocations: 0.682 MB / 2.969 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/8.108, allocations: 0.8179 MB / 2.969 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/8.11, allocations: 0.6646 MB / 2.97 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/8.11, allocations: 0 / 2.97 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005254/8.115, allocations: 1.688 MB / 2.972 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/8.115, allocations: 4 kB / 2.972 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/8.115, allocations: 0 / 2.972 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/8.116, allocations: 88.86 kB / 2.972 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/8.121, allocations: 459.3 kB / 2.972 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/8.124, allocations: 1.53 MB / 2.974 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/8.128, allocations: 318.9 kB / 2.974 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/8.128, allocations: 59.94 kB / 2.974 GB, free: 163.6 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.0005048/8.129, allocations: 168.7 kB / 2.974 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/8.129, allocations: 106.6 kB / 2.974 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/8.136, allocations: 2.133 MB / 2.976 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/8.136, allocations: 12 kB / 2.976 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/8.136, allocations: 0 / 2.976 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/8.136, allocations: 11.97 kB / 2.976 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009442/8.146, allocations: 3.97 MB / 2.98 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/8.146, allocations: 0 / 2.98 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004598/8.15, allocations: 467.3 kB / 2.981 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000841/8.151, allocations: 88.72 kB / 2.981 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/8.151, allocations: 43.94 kB / 2.981 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/8.154, allocations: 1.56 MB / 2.982 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/8.154, allocations: 3.984 kB / 2.982 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/8.159, allocations: 1.883 MB / 2.984 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/8.161, allocations: 463.2 kB / 2.985 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/8.161, allocations: 35.98 kB / 2.985 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004233/8.165, allocations: 279.6 kB / 2.985 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/8.166, allocations: 93.12 kB / 2.985 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/8.166, allocations: 55.94 kB / 2.985 GB, free: 152 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001088/8.167, allocations: 0.5733 MB / 2.986 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/8.167, allocations: 4 kB / 2.986 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002304/8.169, allocations: 0.4989 MB / 2.986 GB, free: 151 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.008021/8.177, allocations: 3.388 MB / 2.989 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004976/8.182, allocations: 1.74 MB / 2.991 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/8.182, allocations: 0 / 2.991 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/8.185, allocations: 1.018 MB / 2.992 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/8.188, allocations: 261 kB / 2.992 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/8.197, allocations: 2.454 MB / 2.995 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/8.197, allocations: 1.179 MB / 2.996 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003233/8.201, allocations: 468.4 kB / 2.996 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/8.202, allocations: 0.5031 MB / 2.997 GB, free: 140 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/8.203, allocations: 0 / 2.997 GB, free: 140 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1607/8.363, allocations: 40.72 MB / 3.037 GB, free: 99.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/8.364, allocations: 226.8 kB / 3.037 GB, free: 99.23 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_HeatTransfer_Windows_Examples_SideFins.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_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_HeatTransfer_Windows_Examples_SideFins_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o] Error 1