Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.394/4.394, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.317e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.26/7.502, allocations: 2.213 GB / 2.89 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/7.502, allocations: 85.33 kB / 2.891 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.345/9.847, allocations: 466.8 MB / 3.346 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.515e-06/9.847, allocations: 3.938 kB / 3.346 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002114/9.847, allocations: 47.92 kB / 3.346 GB, free: 125.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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.00556/9.853, allocations: 1.785 MB / 3.348 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/9.853, allocations: 12.03 kB / 3.348 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005395/9.854, allocations: 224 kB / 3.348 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/9.858, allocations: 453.2 kB / 3.349 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/9.861, allocations: 0.9816 MB / 3.35 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/9.861, allocations: 119.1 kB / 3.35 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/9.861, allocations: 163.9 kB / 3.35 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/9.865, allocations: 1.624 MB / 3.352 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/9.865, allocations: 7.938 kB / 3.352 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/9.865, allocations: 68 kB / 3.352 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/9.865, allocations: 40 kB / 3.352 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/9.869, allocations: 1.579 MB / 3.353 GB, free: 117.8 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/9.88, allocations: 5.925 MB / 3.359 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/9.883, allocations: 1.146 MB / 3.36 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/9.884, allocations: 0.5157 MB / 3.361 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/9.885, allocations: 0.8828 MB / 3.362 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/9.886, allocations: 0.7095 MB / 3.362 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=117): time 5.431e-06/9.886, allocations: 3.984 kB / 3.362 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117): time 0.003973/9.89, allocations: 1.161 MB / 3.363 GB, free: 107 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/9.89, allocations: 244.3 kB / 3.364 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/9.892, allocations: 0.8751 MB / 3.364 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/9.892, allocations: 49.7 kB / 3.365 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/9.893, allocations: 0.6368 MB / 3.365 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/9.893, allocations: 398.2 kB / 3.366 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/9.893, allocations: 20 kB / 3.366 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/9.894, allocations: 349.9 kB / 3.366 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009166/9.894, allocations: 365.9 kB / 3.366 GB, free: 104 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/9.896, allocations: 0.5345 MB / 3.367 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/9.897, allocations: 447.7 kB / 3.367 GB, free: 103 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/9.897, allocations: 0 / 3.367 GB, free: 103 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003503/9.9, allocations: 1.149 MB / 3.368 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/9.9, allocations: 8 kB / 3.368 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/9.9, allocations: 0 / 3.368 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/9.901, allocations: 88.89 kB / 3.368 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/9.904, allocations: 267.7 kB / 3.369 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/9.906, allocations: 1.532 MB / 3.37 GB, free: 99.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/9.908, allocations: 159 kB / 3.37 GB, free: 99.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/9.908, allocations: 35.98 kB / 3.37 GB, free: 99.58 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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.0004177/9.909, allocations: 168.8 kB / 3.37 GB, free: 99.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/9.909, allocations: 130.5 kB / 3.371 GB, free: 99.28 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/9.913, allocations: 1.472 MB / 3.372 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/9.914, allocations: 12 kB / 3.372 GB, free: 97.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/9.914, allocations: 0 / 3.372 GB, free: 97.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/9.914, allocations: 11.97 kB / 3.372 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/9.916, allocations: 1.44 MB / 3.373 GB, free: 96.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/9.916, allocations: 0 / 3.373 GB, free: 96.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/9.918, allocations: 263.7 kB / 3.374 GB, free: 96.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/9.919, allocations: 88.72 kB / 3.374 GB, free: 95.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/9.919, allocations: 35.91 kB / 3.374 GB, free: 95.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/9.923, allocations: 1.56 MB / 3.375 GB, free: 94.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/9.923, allocations: 4.031 kB / 3.375 GB, free: 94.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007135/9.93, allocations: 1.902 MB / 3.377 GB, free: 92.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/9.931, allocations: 418.9 kB / 3.378 GB, free: 91.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/9.931, allocations: 20 kB / 3.378 GB, free: 91.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/9.933, allocations: 127.9 kB / 3.378 GB, free: 91.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/9.934, allocations: 77.2 kB / 3.378 GB, free: 91.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/9.934, allocations: 59.95 kB / 3.378 GB, free: 91.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001266/9.935, allocations: 0.6953 MB / 3.379 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/9.935, allocations: 0 / 3.379 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002372/9.937, allocations: 0.6508 MB / 3.379 GB, free: 90.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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.008609/9.946, allocations: 4.175 MB / 3.383 GB, free: 86.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002878/9.949, allocations: 1.085 MB / 3.384 GB, free: 84.99 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/9.949, allocations: 4.797 kB / 3.384 GB, free: 84.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/9.951, allocations: 0.6742 MB / 3.385 GB, free: 84.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/9.954, allocations: 0.4929 MB / 3.386 GB, free: 83.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/9.964, allocations: 2.657 MB / 3.388 GB, free: 81.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009327/9.965, allocations: 1.323 MB / 3.389 GB, free: 79.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002992/9.968, allocations: 434.1 kB / 3.39 GB, free: 79.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/9.969, allocations: 0.6398 MB / 3.39 GB, free: 78.68 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/9.969, allocations: 0 / 3.39 GB, free: 78.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/10.11, allocations: 59.28 MB / 3.448 GB, free: 19.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/10.11, allocations: 225.1 kB / 3.449 GB, free: 19.52 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_Fluid_Sources_Examples_Outside_Cp.o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Fluid_Sources_Examples_Outside_Cp_functions.o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:2: In file included from ./Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Fluid_Sources_Examples_Outside_Cp_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Fluid_Sources_Examples_Outside_Cp_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o] Error 1