Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.217/4.217, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.15e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.205/7.455, allocations: 2.21 GB / 2.888 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/7.455, allocations: 87.08 kB / 2.888 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.718/9.174, allocations: 307.1 MB / 3.188 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.434e-05/9.174, allocations: 3.844 kB / 3.188 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001854/9.174, allocations: 48.34 kB / 3.188 GB, free: 227.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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005318/9.179, allocations: 1.754 MB / 3.189 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/9.179, allocations: 10.81 kB / 3.189 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006431/9.18, allocations: 242.1 kB / 3.19 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005687/9.186, allocations: 0.4942 MB / 3.19 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/9.189, allocations: 0.9895 MB / 3.191 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/9.189, allocations: 118.3 kB / 3.191 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/9.189, allocations: 161.9 kB / 3.191 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/9.194, allocations: 1.67 MB / 3.193 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/9.194, allocations: 7.75 kB / 3.193 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/9.195, allocations: 71.59 kB / 3.193 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/9.195, allocations: 42.28 kB / 3.193 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/9.199, allocations: 1.666 MB / 3.195 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/9.213, allocations: 5.054 MB / 3.2 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/9.216, allocations: 1.2 MB / 3.201 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/9.218, allocations: 0.5764 MB / 3.201 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/9.219, allocations: 0.8039 MB / 3.202 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00205/9.221, allocations: 0.7684 MB / 3.203 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=137): time 5.31e-06/9.221, allocations: 3 kB / 3.203 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137): time 0.005324/9.226, allocations: 1.339 MB / 3.204 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/9.226, allocations: 248.1 kB / 3.205 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/9.228, allocations: 0.738 MB / 3.205 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004467/9.229, allocations: 55.67 kB / 3.205 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/9.229, allocations: 0.6313 MB / 3.206 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006577/9.23, allocations: 458.4 kB / 3.206 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/9.23, allocations: 27.72 kB / 3.206 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000109/9.23, allocations: 353.4 kB / 3.207 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/9.231, allocations: 387.1 kB / 3.207 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/9.232, allocations: 0.5437 MB / 3.208 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/9.234, allocations: 476.4 kB / 3.208 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/9.234, allocations: 3.125 kB / 3.208 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00469/9.239, allocations: 1.306 MB / 3.209 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/9.239, allocations: 3.938 kB / 3.209 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/9.239, allocations: 7.625 kB / 3.209 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/9.24, allocations: 181.9 kB / 3.21 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/9.243, allocations: 300.8 kB / 3.21 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/9.25, allocations: 6.755 MB / 3.216 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/9.252, allocations: 148 kB / 3.217 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/9.253, allocations: 45.61 kB / 3.217 GB, free: 215.2 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.0005003/9.253, allocations: 181.9 kB / 3.217 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/9.254, allocations: 124.3 kB / 3.217 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/9.259, allocations: 1.66 MB / 3.219 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/9.26, allocations: 19.23 kB / 3.219 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/9.26, allocations: 3.312 kB / 3.219 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/9.26, allocations: 7.312 kB / 3.219 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/9.263, allocations: 1.475 MB / 3.22 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/9.263, allocations: 0 / 3.22 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/9.266, allocations: 294 kB / 3.22 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/9.268, allocations: 193.1 kB / 3.22 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/9.268, allocations: 40.89 kB / 3.22 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/9.275, allocations: 6.774 MB / 3.227 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/9.275, allocations: 3.469 kB / 3.227 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/9.28, allocations: 1.437 MB / 3.229 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/9.281, allocations: 420 kB / 3.229 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/9.282, allocations: 33.55 kB / 3.229 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/9.284, allocations: 126.9 kB / 3.229 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/9.284, allocations: 101.6 kB / 3.229 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/9.285, allocations: 67.75 kB / 3.229 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001258/9.286, allocations: 0.5932 MB / 3.23 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/9.286, allocations: 0 / 3.23 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003281/9.289, allocations: 0.6633 MB / 3.23 GB, free: 207.7 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.00865/9.298, allocations: 3.518 MB / 3.234 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003795/9.302, allocations: 1.593 MB / 3.235 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/9.302, allocations: 4.781 kB / 3.235 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/9.304, allocations: 1.158 MB / 3.237 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/9.308, allocations: 447.8 kB / 3.237 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/9.318, allocations: 2.576 MB / 3.24 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/9.319, allocations: 1.312 MB / 3.241 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003162/9.322, allocations: 424.5 kB / 3.241 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/9.324, allocations: 0.6134 MB / 3.242 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/9.324, allocations: 0 / 3.242 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/9.461, allocations: 55.59 MB / 3.296 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/9.461, allocations: 236.5 kB / 3.296 GB, free: 171.1 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_CpLowRise.o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_CpLowRise_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o] Error 1