Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.668/4.668, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.613e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2505, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9641/1.215, allocations: 132.9 MB / 0.8017 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.215, allocations: 88.53 kB / 0.8018 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0176/1.233, allocations: 4.457 MB / 0.8062 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.233, allocations: 0 / 0.8062 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.233, allocations: 0 / 0.8062 GB, free: 12.24 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003709/1.233, allocations: 377.5 kB / 0.8065 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.233, allocations: 7.625 kB / 0.8065 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/1.233, allocations: 37.41 kB / 0.8066 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/1.233, allocations: 7.828 kB / 0.8066 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/1.233, allocations: 163 kB / 0.8067 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.233, allocations: 4 kB / 0.8067 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/1.233, allocations: 0 / 0.8067 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.233, allocations: 46.88 kB / 0.8068 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.234, allocations: 0 / 0.8068 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.234, allocations: 0 / 0.8068 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/1.234, allocations: 0 / 0.8068 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/1.234, allocations: 7.922 kB / 0.8068 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/1.234, allocations: 158.4 kB / 0.8069 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.418e-05/1.234, allocations: 44.52 kB / 0.807 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/1.234, allocations: 8.703 kB / 0.807 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.234, allocations: 3.781 kB / 0.807 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.234, allocations: 30.56 kB / 0.807 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/1.234, allocations: 3.938 kB / 0.807 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/1.234, allocations: 49.67 kB / 0.8071 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/1.234, allocations: 59.2 kB / 0.8071 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/1.234, allocations: 89.03 kB / 0.8072 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.234, allocations: 25.7 kB / 0.8072 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/1.234, allocations: 86.91 kB / 0.8073 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/1.234, allocations: 7.469 kB / 0.8073 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.234, allocations: 0 / 0.8073 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/1.234, allocations: 310.8 kB / 0.8076 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/1.234, allocations: 7.812 kB / 0.8076 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/1.235, allocations: 10.45 kB / 0.8076 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/1.235, allocations: 13.59 kB / 0.8076 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.235, allocations: 0 / 0.8076 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/1.235, allocations: 47.73 kB / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.235, allocations: 3.844 kB / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.235, allocations: 6.656 kB / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.235, allocations: 0 / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.532e-06/1.235, allocations: 0 / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.235, allocations: 0 / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/1.235, allocations: 3.953 kB / 0.8077 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/1.235, allocations: 3.875 kB / 0.8077 GB, free: 10.64 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5.479e-05/1.235, allocations: 109.6 kB / 0.8078 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/1.235, allocations: 3.875 kB / 0.8078 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/1.235, allocations: 76.89 kB / 0.8079 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.235, allocations: 0 / 0.8079 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.235, allocations: 0 / 0.8079 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.235, allocations: 0 / 0.8079 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.766e-05/1.235, allocations: 158.9 kB / 0.808 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.235, allocations: 3.969 kB / 0.808 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/1.235, allocations: 4.031 kB / 0.808 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.235, allocations: 0 / 0.808 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.235, allocations: 0 / 0.808 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.235, allocations: 3.938 kB / 0.808 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.235, allocations: 3.906 kB / 0.8081 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.986e-05/1.235, allocations: 70.22 kB / 0.8081 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/1.235, allocations: 81.05 kB / 0.8082 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.236, allocations: 2.719 kB / 0.8082 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/1.236, allocations: 7.844 kB / 0.8082 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/1.236, allocations: 3.938 kB / 0.8082 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.236, allocations: 0 / 0.8082 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.236, allocations: 82.55 kB / 0.8083 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.236, allocations: 0 / 0.8083 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004453/1.236, allocations: 88.41 kB / 0.8084 GB, free: 9.996 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001261/1.237, allocations: 0.8213 MB / 0.8092 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.238, allocations: 73.78 kB / 0.8092 GB, free: 25.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.238, allocations: 3.812 kB / 0.8093 GB, free: 25.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/1.238, allocations: 29.61 kB / 0.8093 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/1.238, allocations: 1.875 kB / 0.8093 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/1.239, allocations: 267.8 kB / 0.8095 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/1.239, allocations: 0.679 MB / 0.8102 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.033e-05/1.239, allocations: 14.61 kB / 0.8102 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/1.239, allocations: 7.438 kB / 0.8102 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/1.239, allocations: 0 / 0.8102 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/1.269, allocations: 2.349 MB / 0.8125 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004025/1.269, allocations: 261 kB / 0.8128 GB, free: 23.71 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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1