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.463/4.463, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.067e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.6375, allocations: 92.68 MB / 0.5897 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.8671, allocations: 121.9 MB / 0.7087 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/0.8675, allocations: 83.94 kB / 0.7088 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03932/0.9069, allocations: 8.4 MB / 0.717 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.564e-06/0.907, allocations: 0 / 0.717 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.907, allocations: 0 / 0.717 GB, free: 11.9 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.0006874/0.9077, allocations: 385.1 kB / 0.7174 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.418e-05/0.9078, allocations: 12.02 kB / 0.7174 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.466e-05/0.9079, allocations: 34.56 kB / 0.7174 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.908, allocations: 7.953 kB / 0.7174 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.9082, allocations: 167 kB / 0.7176 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.9083, allocations: 4 kB / 0.7176 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.9084, allocations: 4 kB / 0.7176 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.9088, allocations: 101.6 kB / 0.7177 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9089, allocations: 0 / 0.7177 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.9089, allocations: 0 / 0.7177 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.909, allocations: 4 kB / 0.7177 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.9092, allocations: 43.94 kB / 0.7177 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.9095, allocations: 153.7 kB / 0.7179 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.9098, allocations: 86.5 kB / 0.718 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.9101, allocations: 72.92 kB / 0.718 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.9101, allocations: 0 / 0.718 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.9102, allocations: 34.56 kB / 0.7181 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/0.9102, allocations: 4 kB / 0.7181 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006199/0.9108, allocations: 163.2 kB / 0.7182 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.9109, allocations: 89.09 kB / 0.7183 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.911, allocations: 85 kB / 0.7184 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.9111, allocations: 29.7 kB / 0.7184 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.9111, allocations: 80.14 kB / 0.7185 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.9112, allocations: 23.73 kB / 0.7185 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.9112, allocations: 0 / 0.7185 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9114, allocations: 326.8 kB / 0.7188 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.9116, allocations: 31.98 kB / 0.7189 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.9118, allocations: 47.91 kB / 0.7189 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.912, allocations: 69.61 kB / 0.719 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.912, allocations: 0 / 0.719 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005655/0.9126, allocations: 163.3 kB / 0.7191 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.914e-05/0.9127, allocations: 45.69 kB / 0.7192 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.9128, allocations: 0 / 0.7192 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.9128, allocations: 0 / 0.7192 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.9128, allocations: 0 / 0.7192 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.9128, allocations: 64 / 0.7192 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.9133, allocations: 15.98 kB / 0.7192 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.9133, allocations: 12 kB / 0.7192 GB, free: 9.398 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.0002413/0.9136, allocations: 146.6 kB / 0.7193 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.9137, allocations: 15.89 kB / 0.7193 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.9137, allocations: 8.094 kB / 0.7194 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9137, allocations: 0 / 0.7194 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9138, allocations: 0 / 0.7194 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9138, allocations: 0 / 0.7194 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.914, allocations: 161.6 kB / 0.7195 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.914, allocations: 3.984 kB / 0.7195 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.9141, allocations: 4.062 kB / 0.7195 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9141, allocations: 0 / 0.7195 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.9141, allocations: 12 kB / 0.7195 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.9142, allocations: 3.938 kB / 0.7195 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9142, allocations: 0 / 0.7195 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.9148, allocations: 218.7 kB / 0.7197 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.9148, allocations: 85.12 kB / 0.7198 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.9149, allocations: 4 kB / 0.7198 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.9152, allocations: 11.98 kB / 0.7198 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.9153, allocations: 19.86 kB / 0.7199 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.9153, allocations: 15.98 kB / 0.7199 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.9154, allocations: 75.28 kB / 0.7199 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9154, allocations: 0 / 0.7199 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004474/0.9158, allocations: 51.98 kB / 0.72 GB, free: 8.473 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.001499/0.9173, allocations: 0.9531 MB / 0.7209 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.9179, allocations: 227.3 kB / 0.7211 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9179, allocations: 0 / 0.7211 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.9182, allocations: 179.3 kB / 0.7213 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.9183, allocations: 5.375 kB / 0.7213 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.9189, allocations: 190.4 kB / 0.7215 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.9193, allocations: 0.6809 MB / 0.7222 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.755e-06/0.9193, allocations: 4.125 kB / 0.7222 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.9193, allocations: 7.438 kB / 0.7222 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.9193, allocations: 0 / 0.7222 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.9456, allocations: 3.379 MB / 0.7255 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.9459, allocations: 237.8 kB / 0.7257 GB, free: 2.539 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