Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.258/4.258, allocations: 460.4 MB / 472.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.601e-05, allocations: 4 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2312, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.195/7.426, allocations: 2.212 GB / 2.884 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/7.427, allocations: 88.12 kB / 2.884 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.202/9.629, allocations: 466.8 MB / 3.34 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.887e-06/9.629, allocations: 4 kB / 3.34 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001841/9.629, allocations: 44 kB / 3.34 GB, free: 120.4 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.005272/9.634, allocations: 1.781 MB / 3.342 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/9.634, allocations: 8.031 kB / 3.342 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004423/9.635, allocations: 224 kB / 3.342 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/9.639, allocations: 460.8 kB / 3.343 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/9.642, allocations: 0.9855 MB / 3.343 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.945e-05/9.642, allocations: 119.1 kB / 3.344 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/9.643, allocations: 151.9 kB / 3.344 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/9.647, allocations: 1.631 MB / 3.345 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/9.647, allocations: 0 / 3.345 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/9.648, allocations: 72.52 kB / 3.345 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/9.648, allocations: 40 kB / 3.345 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004559/9.652, allocations: 1.59 MB / 3.347 GB, free: 113.2 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.01352/9.666, allocations: 5.918 MB / 3.353 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/9.669, allocations: 1.143 MB / 3.354 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/9.67, allocations: 0.5086 MB / 3.354 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/9.671, allocations: 0.8867 MB / 3.355 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/9.673, allocations: 0.7151 MB / 3.356 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=117): time 4.559e-06/9.673, allocations: 0 / 3.356 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117): time 0.004184/9.677, allocations: 1.161 MB / 3.357 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/9.677, allocations: 248.3 kB / 3.357 GB, free: 102 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/9.679, allocations: 0.8672 MB / 3.358 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004062/9.68, allocations: 49.7 kB / 3.358 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/9.68, allocations: 0.6485 MB / 3.359 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000432/9.681, allocations: 390.2 kB / 3.359 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/9.681, allocations: 20 kB / 3.359 GB, free: 100 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/9.681, allocations: 345.9 kB / 3.36 GB, free: 99.69 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000952/9.682, allocations: 369.9 kB / 3.36 GB, free: 99.33 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/9.683, allocations: 0.5151 MB / 3.36 GB, free: 98.76 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/9.684, allocations: 451.3 kB / 3.361 GB, free: 98.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/9.684, allocations: 4 kB / 3.361 GB, free: 98.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00372/9.688, allocations: 1.149 MB / 3.362 GB, free: 97.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/9.688, allocations: 4 kB / 3.362 GB, free: 97.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/9.688, allocations: 4 kB / 3.362 GB, free: 97.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/9.689, allocations: 88.83 kB / 3.362 GB, free: 97.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/9.691, allocations: 263.6 kB / 3.362 GB, free: 96.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/9.694, allocations: 1.536 MB / 3.364 GB, free: 95.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/9.696, allocations: 151 kB / 3.364 GB, free: 94.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/9.697, allocations: 43.97 kB / 3.364 GB, free: 94.94 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.0004189/9.697, allocations: 174.4 kB / 3.364 GB, free: 94.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/9.698, allocations: 134.5 kB / 3.364 GB, free: 94.63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/9.702, allocations: 1.468 MB / 3.366 GB, free: 93.15 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/9.702, allocations: 12 kB / 3.366 GB, free: 93.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/9.702, allocations: 0 / 3.366 GB, free: 93.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/9.702, allocations: 11.91 kB / 3.366 GB, free: 93.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/9.705, allocations: 1.455 MB / 3.367 GB, free: 91.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/9.705, allocations: 0 / 3.367 GB, free: 91.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/9.708, allocations: 267.7 kB / 3.367 GB, free: 91.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008841/9.709, allocations: 84.77 kB / 3.368 GB, free: 91.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/9.709, allocations: 31.98 kB / 3.368 GB, free: 91.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/9.711, allocations: 1.556 MB / 3.369 GB, free: 89.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/9.711, allocations: 0 / 3.369 GB, free: 89.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/9.717, allocations: 1.906 MB / 3.371 GB, free: 87.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/9.719, allocations: 415 kB / 3.371 GB, free: 87.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/9.719, allocations: 27.95 kB / 3.371 GB, free: 87.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/9.721, allocations: 127.9 kB / 3.371 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/9.721, allocations: 81.19 kB / 3.372 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/9.722, allocations: 63.95 kB / 3.372 GB, free: 86.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00136/9.723, allocations: 0.6876 MB / 3.372 GB, free: 86.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.01e-07/9.723, allocations: 0 / 3.372 GB, free: 86.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002856/9.726, allocations: 0.6469 MB / 3.373 GB, free: 85.55 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.009327/9.735, allocations: 4.187 MB / 3.377 GB, free: 81.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003093/9.738, allocations: 1.08 MB / 3.378 GB, free: 80.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/9.738, allocations: 4.797 kB / 3.378 GB, free: 80.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/9.74, allocations: 0.6746 MB / 3.379 GB, free: 79.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/9.744, allocations: 498.2 kB / 3.379 GB, free: 79.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/9.754, allocations: 2.661 MB / 3.382 GB, free: 76.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/9.755, allocations: 1.326 MB / 3.383 GB, free: 75.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002998/9.758, allocations: 442 kB / 3.384 GB, free: 74.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/9.76, allocations: 0.6359 MB / 3.384 GB, free: 74.02 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/9.76, allocations: 4 kB / 3.384 GB, free: 74.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/9.92, allocations: 59.28 MB / 3.442 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/9.92, allocations: 216.6 kB / 3.442 GB, free: 14.87 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_Fluid_Sources_Examples_Outside_Cp.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Fluid_Sources_Examples_Outside_Cp_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o] Error 1