Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.389/4.389, allocations: 464.6 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.397e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2446, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.459/7.704, allocations: 2.195 GB / 2.873 GB, free: 254.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/7.704, allocations: 97.17 kB / 2.873 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.29/7.994, allocations: 76.4 MB / 2.948 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.205e-06/7.994, allocations: 0 / 2.948 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.886e-05/7.995, allocations: 24 kB / 2.948 GB, free: 188.7 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.00325/7.998, allocations: 1.301 MB / 2.949 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/7.998, allocations: 12.03 kB / 2.949 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003156/7.998, allocations: 170.3 kB / 2.949 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/8.013, allocations: 1.34 MB / 2.95 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/8.016, allocations: 0.8195 MB / 2.951 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/8.016, allocations: 79.14 kB / 2.951 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/8.016, allocations: 112.9 kB / 2.951 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/8.02, allocations: 1.539 MB / 2.953 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/8.02, allocations: 4 kB / 2.953 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/8.021, allocations: 47.88 kB / 2.953 GB, free: 184 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/8.021, allocations: 28 kB / 2.953 GB, free: 184 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005125/8.026, allocations: 1.937 MB / 2.955 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/8.039, allocations: 4.136 MB / 2.959 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/8.044, allocations: 1.771 MB / 2.961 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/8.045, allocations: 0.699 MB / 2.961 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/8.046, allocations: 0.6139 MB / 2.962 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/8.048, allocations: 0.9421 MB / 2.963 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=120): time 3.988e-06/8.048, allocations: 0 / 2.963 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120): time 0.005035/8.053, allocations: 1.528 MB / 2.964 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/8.053, allocations: 248.3 kB / 2.964 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/8.055, allocations: 0.6796 MB / 2.965 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003634/8.055, allocations: 45.7 kB / 2.965 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/8.056, allocations: 452.7 kB / 2.966 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/8.056, allocations: 394.2 kB / 2.966 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/8.056, allocations: 20 kB / 2.966 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/8.056, allocations: 349.9 kB / 2.966 GB, free: 171 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/8.058, allocations: 0.6 MB / 2.967 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/8.06, allocations: 0.7319 MB / 2.968 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/8.061, allocations: 0.5943 MB / 2.968 GB, free: 169 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/8.061, allocations: 0 / 2.968 GB, free: 169 MB / 0.8855 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004927/8.066, allocations: 1.54 MB / 2.97 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/8.066, allocations: 8 kB / 2.97 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/8.066, allocations: 0 / 2.97 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/8.067, allocations: 84.84 kB / 2.97 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/8.072, allocations: 471.3 kB / 2.97 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/8.074, allocations: 1.52 MB / 2.972 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/8.078, allocations: 330.8 kB / 2.972 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/8.079, allocations: 55.88 kB / 2.972 GB, free: 164.9 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.0004568/8.079, allocations: 163.4 kB / 2.972 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/8.079, allocations: 102.8 kB / 2.972 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006531/8.086, allocations: 2 MB / 2.974 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/8.086, allocations: 16 kB / 2.974 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/8.086, allocations: 0 / 2.974 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/8.086, allocations: 11.91 kB / 2.974 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009237/8.095, allocations: 3.55 MB / 2.978 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/8.095, allocations: 3.938 kB / 2.978 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004466/8.1, allocations: 471.3 kB / 2.978 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008527/8.101, allocations: 80.78 kB / 2.978 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00022/8.101, allocations: 51.94 kB / 2.978 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/8.103, allocations: 1.557 MB / 2.98 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/8.103, allocations: 3.953 kB / 2.98 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/8.108, allocations: 1.735 MB / 2.982 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/8.109, allocations: 431.1 kB / 2.982 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/8.11, allocations: 28 kB / 2.982 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/8.113, allocations: 283.7 kB / 2.982 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/8.114, allocations: 89.19 kB / 2.982 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/8.114, allocations: 55.94 kB / 2.982 GB, free: 154 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001013/8.115, allocations: 0.5499 MB / 2.983 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.22e-07/8.115, allocations: 0 / 2.983 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002038/8.117, allocations: 0.4989 MB / 2.984 GB, free: 153 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.007837/8.125, allocations: 3.253 MB / 2.987 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004959/8.13, allocations: 1.576 MB / 2.988 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/8.13, allocations: 0 / 2.988 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/8.133, allocations: 0.9243 MB / 2.989 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/8.135, allocations: 259.3 kB / 2.989 GB, free: 147 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/8.144, allocations: 2.328 MB / 2.992 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/8.145, allocations: 1.149 MB / 2.993 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003152/8.148, allocations: 472.1 kB / 2.993 GB, free: 143 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/8.149, allocations: 0.4992 MB / 2.994 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.904e-06/8.149, allocations: 0 / 2.994 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/8.265, allocations: 39.63 MB / 3.032 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/8.265, allocations: 240.3 kB / 3.033 GB, free: 102.8 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_BaseClasses_Examples_SideFins.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_SideFins_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1