Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.433/4.433, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.187e-05/5.197e-05, allocations: 4 kB / 0.5732 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2421, allocations: 107.2 MB / 0.6779 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9174/1.16, allocations: 135.2 MB / 0.8099 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.16, allocations: 98.77 kB / 0.81 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07269/1.233, allocations: 11.39 MB / 0.8211 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.875e-06/1.233, allocations: 3.844 kB / 0.8211 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.233, allocations: 0 / 0.8211 GB, free: 10.79 MB / 0.6355 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.0006246/1.233, allocations: 429.8 kB / 0.8215 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.234, allocations: 7.688 kB / 0.8215 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/1.234, allocations: 34.53 kB / 0.8215 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/1.234, allocations: 19.61 kB / 0.8215 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/1.234, allocations: 185.6 kB / 0.8217 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/1.234, allocations: 0 / 0.8217 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/1.234, allocations: 7.719 kB / 0.8217 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/1.235, allocations: 120.5 kB / 0.8218 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.235, allocations: 0 / 0.8218 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/1.235, allocations: 3.844 kB / 0.8218 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.235, allocations: 0 / 0.8218 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/1.235, allocations: 60.64 kB / 0.8219 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/1.235, allocations: 168.4 kB / 0.8221 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/1.235, allocations: 114.5 kB / 0.8222 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/1.236, allocations: 104.8 kB / 0.8223 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/1.236, allocations: 0 / 0.8223 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.236, allocations: 30.56 kB / 0.8223 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.306e-06/1.236, allocations: 0 / 0.8223 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0008281/1.237, allocations: 210.7 kB / 0.8225 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/1.237, allocations: 96.59 kB / 0.8226 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.237, allocations: 115.4 kB / 0.8227 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/1.237, allocations: 25.7 kB / 0.8227 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/1.237, allocations: 87.77 kB / 0.8228 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/1.237, allocations: 23.3 kB / 0.8228 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/1.237, allocations: 3.875 kB / 0.8228 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/1.237, allocations: 317.9 kB / 0.8231 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/1.238, allocations: 68.89 kB / 0.8232 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/1.238, allocations: 64.45 kB / 0.8233 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/1.238, allocations: 86.91 kB / 0.8234 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.238, allocations: 0 / 0.8234 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000753/1.239, allocations: 207.4 kB / 0.8236 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.924e-05/1.239, allocations: 48.53 kB / 0.8236 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.239, allocations: 0 / 0.8236 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.239, allocations: 0 / 0.8236 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-06/1.239, allocations: 4.062 kB / 0.8236 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.239, allocations: 0 / 0.8236 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/1.24, allocations: 19.42 kB / 0.8236 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/1.24, allocations: 19.7 kB / 0.8236 GB, free: 8.75 MB / 0.6355 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.000202/1.24, allocations: 153.5 kB / 0.8238 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/1.24, allocations: 11.59 kB / 0.8238 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/1.24, allocations: 8.609 kB / 0.8238 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.24, allocations: 3.844 kB / 0.8238 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.24, allocations: 0 / 0.8238 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.24, allocations: 0 / 0.8238 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/1.241, allocations: 175.9 kB / 0.824 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.241, allocations: 0 / 0.824 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-06/1.241, allocations: 0 / 0.824 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/1.241, allocations: 4 kB / 0.824 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/1.241, allocations: 15.64 kB / 0.824 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/1.241, allocations: 0 / 0.824 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.241, allocations: 0 / 0.824 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/1.242, allocations: 269.1 kB / 0.8243 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/1.242, allocations: 96.36 kB / 0.8243 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/1.242, allocations: 11.8 kB / 0.8244 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/1.242, allocations: 19.45 kB / 0.8244 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/1.243, allocations: 7.859 kB / 0.8244 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/1.243, allocations: 19.11 kB / 0.8244 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001052/1.243, allocations: 98.14 kB / 0.8245 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.362e-06/1.243, allocations: 0 / 0.8245 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009053/1.244, allocations: 105 kB / 0.8246 GB, free: 8.004 MB / 0.6355 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.003157/1.247, allocations: 1.128 MB / 0.8257 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008963/1.248, allocations: 288 kB / 0.826 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.248, allocations: 4.062 kB / 0.826 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/1.248, allocations: 208.4 kB / 0.8262 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/1.249, allocations: 7.062 kB / 0.8262 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/1.252, allocations: 0.5605 MB / 0.8267 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/1.252, allocations: 0.6959 MB / 0.8274 GB, free: 21.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001673/1.252, allocations: 54.55 kB / 0.8275 GB, free: 21.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/1.252, allocations: 10.75 kB / 0.8275 GB, free: 21.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.252, allocations: 0 / 0.8275 GB, free: 21.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/1.285, allocations: 4.73 MB / 0.8321 GB, free: 19.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003827/1.285, allocations: 247.6 kB / 0.8323 GB, free: 19.22 MB / 0.6511 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_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_latest_Buildings_Obsolete_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_latest_Buildings_Obsolete_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_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/pythonWrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_latest_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1