Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.661e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2459, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.213/7.459, allocations: 2.209 GB / 2.881 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/7.459, allocations: 83.45 kB / 2.881 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.746/9.206, allocations: 307.1 MB / 3.181 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/9.206, allocations: 3.719 kB / 3.181 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001618/9.206, allocations: 50.08 kB / 3.181 GB, free: 229.5 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005003/9.211, allocations: 1.747 MB / 3.183 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/9.211, allocations: 6.625 kB / 3.183 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005705/9.212, allocations: 242 kB / 3.183 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/9.217, allocations: 0.4954 MB / 3.184 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/9.22, allocations: 0.9806 MB / 3.185 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/9.221, allocations: 123.2 kB / 3.185 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/9.221, allocations: 162.1 kB / 3.185 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/9.226, allocations: 1.669 MB / 3.187 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/9.226, allocations: 2.344 kB / 3.187 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003512/9.226, allocations: 78.88 kB / 3.187 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/9.226, allocations: 42.91 kB / 3.187 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/9.231, allocations: 1.676 MB / 3.188 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/9.245, allocations: 5.048 MB / 3.193 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/9.248, allocations: 1.203 MB / 3.195 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/9.249, allocations: 0.5694 MB / 3.195 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/9.25, allocations: 0.803 MB / 3.196 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/9.252, allocations: 0.7753 MB / 3.197 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=137): time 6.853e-06/9.253, allocations: 5 kB / 3.197 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137): time 0.005182/9.258, allocations: 1.332 MB / 3.198 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/9.258, allocations: 251 kB / 3.198 GB, free: 225 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/9.259, allocations: 0.7332 MB / 3.199 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004332/9.26, allocations: 57.08 kB / 3.199 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/9.261, allocations: 0.6297 MB / 3.2 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/9.261, allocations: 462.3 kB / 3.2 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/9.261, allocations: 21.72 kB / 3.2 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001024/9.261, allocations: 351.6 kB / 3.2 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/9.263, allocations: 391.5 kB / 3.201 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/9.264, allocations: 0.5404 MB / 3.201 GB, free: 224 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/9.265, allocations: 479.4 kB / 3.202 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/9.265, allocations: 0 / 3.202 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004421/9.27, allocations: 1.306 MB / 3.203 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/9.27, allocations: 5.969 kB / 3.203 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/9.27, allocations: 6.844 kB / 3.203 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/9.271, allocations: 188.5 kB / 3.203 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/9.274, allocations: 298.8 kB / 3.204 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/9.281, allocations: 6.745 MB / 3.21 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/9.283, allocations: 156.9 kB / 3.21 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/9.283, allocations: 49.98 kB / 3.21 GB, free: 217.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005084/9.284, allocations: 171.3 kB / 3.21 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/9.284, allocations: 130.5 kB / 3.211 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/9.29, allocations: 1.655 MB / 3.212 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/9.29, allocations: 15.34 kB / 3.212 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/9.29, allocations: 3.625 kB / 3.212 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/9.29, allocations: 7.547 kB / 3.212 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/9.293, allocations: 1.471 MB / 3.214 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/9.293, allocations: 0 / 3.214 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/9.296, allocations: 297.2 kB / 3.214 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/9.298, allocations: 193.8 kB / 3.214 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/9.298, allocations: 43.47 kB / 3.214 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006117/9.304, allocations: 6.79 MB / 3.221 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/9.304, allocations: 0 / 3.221 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004749/9.309, allocations: 1.434 MB / 3.222 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/9.31, allocations: 417 kB / 3.223 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/9.311, allocations: 31.33 kB / 3.223 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/9.313, allocations: 123.8 kB / 3.223 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/9.313, allocations: 106.4 kB / 3.223 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/9.314, allocations: 63.5 kB / 3.223 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001176/9.315, allocations: 0.588 MB / 3.223 GB, free: 210 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.51e-07/9.315, allocations: 0 / 3.223 GB, free: 210 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003103/9.318, allocations: 0.6699 MB / 3.224 GB, free: 209.9 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008514/9.326, allocations: 3.533 MB / 3.228 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00394/9.33, allocations: 1.596 MB / 3.229 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/9.331, allocations: 4.781 kB / 3.229 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002866/9.333, allocations: 1.158 MB / 3.23 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/9.337, allocations: 433.6 kB / 3.231 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009873/9.347, allocations: 2.574 MB / 3.233 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009924/9.348, allocations: 1.312 MB / 3.235 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003127/9.351, allocations: 426.5 kB / 3.235 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/9.353, allocations: 0.6081 MB / 3.236 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.292e-06/9.353, allocations: 0 / 3.236 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/9.505, allocations: 55.58 MB / 3.29 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/9.506, allocations: 231.2 kB / 3.29 GB, free: 188.5 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_CpLowRise.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_CpLowRise_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_CpLowRise_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_CpLowRise_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o] Error 1