Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.174/4.174, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.073e-05/4.085e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6529, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/0.9037, allocations: 121.9 MB / 0.7087 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.9042, allocations: 99.91 kB / 0.7088 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03485/0.939, allocations: 8.389 MB / 0.717 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9391, allocations: 0 / 0.717 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9391, allocations: 0 / 0.717 GB, free: 11.81 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004263/0.9395, allocations: 393.6 kB / 0.7173 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.9396, allocations: 8.031 kB / 0.7173 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.9397, allocations: 34.56 kB / 0.7174 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.9397, allocations: 7.953 kB / 0.7174 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.9398, allocations: 163 kB / 0.7175 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.9399, allocations: 4 kB / 0.7175 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.9399, allocations: 7.938 kB / 0.7176 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.9402, allocations: 93.61 kB / 0.7176 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.9402, allocations: 0 / 0.7176 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.9402, allocations: 4 kB / 0.7176 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9402, allocations: 4 kB / 0.7177 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.9404, allocations: 47.92 kB / 0.7177 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.9406, allocations: 149.7 kB / 0.7178 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.9408, allocations: 78.62 kB / 0.7179 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.9409, allocations: 80.86 kB / 0.718 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.9409, allocations: 0 / 0.718 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.941, allocations: 34.56 kB / 0.718 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.572e-06/0.941, allocations: 0 / 0.718 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004499/0.9415, allocations: 171.2 kB / 0.7182 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.9415, allocations: 85.11 kB / 0.7183 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.9416, allocations: 85 kB / 0.7184 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.9417, allocations: 25.7 kB / 0.7184 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.9417, allocations: 80.14 kB / 0.7185 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.9418, allocations: 23.73 kB / 0.7185 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.9418, allocations: 4 kB / 0.7185 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.942, allocations: 318.8 kB / 0.7188 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.9421, allocations: 47.91 kB / 0.7188 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.9422, allocations: 39.92 kB / 0.7189 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.9424, allocations: 73.59 kB / 0.7189 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9424, allocations: 0 / 0.7189 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003782/0.9428, allocations: 159.3 kB / 0.7191 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.9428, allocations: 41.69 kB / 0.7191 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.9429, allocations: 4 kB / 0.7191 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9429, allocations: 0 / 0.7191 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.9429, allocations: 0 / 0.7191 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.9429, allocations: 4.062 kB / 0.7191 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.9433, allocations: 11.98 kB / 0.7191 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.9433, allocations: 11.98 kB / 0.7192 GB, free: 9.305 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.9435, allocations: 154.6 kB / 0.7193 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.9436, allocations: 7.906 kB / 0.7193 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.9436, allocations: 4.094 kB / 0.7193 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9436, allocations: 3.984 kB / 0.7193 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.9436, allocations: 0 / 0.7193 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9436, allocations: 4 kB / 0.7193 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.9438, allocations: 161.6 kB / 0.7195 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9438, allocations: 0 / 0.7195 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-06/0.9438, allocations: 0 / 0.7195 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9438, allocations: 3.938 kB / 0.7195 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.9439, allocations: 12 kB / 0.7195 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.9439, allocations: 3.984 kB / 0.7195 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9439, allocations: 0 / 0.7195 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.9444, allocations: 222.8 kB / 0.7197 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.9444, allocations: 85.14 kB / 0.7198 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.9445, allocations: 8 kB / 0.7198 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.9448, allocations: 11.98 kB / 0.7198 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.9448, allocations: 7.938 kB / 0.7198 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.9449, allocations: 11.98 kB / 0.7198 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.9449, allocations: 75.28 kB / 0.7199 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9449, allocations: 0 / 0.7199 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004192/0.9454, allocations: 59.97 kB / 0.72 GB, free: 8.379 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.947, allocations: 0.9531 MB / 0.7209 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.9475, allocations: 231.3 kB / 0.7211 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9475, allocations: 0 / 0.7211 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.9478, allocations: 183.2 kB / 0.7213 GB, free: 7.012 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.9479, allocations: 7.938 kB / 0.7213 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.9485, allocations: 190.5 kB / 0.7215 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.9488, allocations: 0.685 MB / 0.7221 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.556e-06/0.9488, allocations: 3.984 kB / 0.7221 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.9489, allocations: 11.44 kB / 0.7222 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.9489, allocations: 0 / 0.7222 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.9709, allocations: 3.376 MB / 0.7255 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003578/0.9713, allocations: 235.1 kB / 0.7257 GB, free: 2.434 MB / 0.6042 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 5.0.1/Resources/C-Sources" -c -o Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_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 5.0.1/Resources/C-Sources" -c -o Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_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_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/C-Sources/python27Wrapper.c:20:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1