Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.633/4.633, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.807e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2606, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9462/1.207, allocations: 133.3 MB / 0.808 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.207, allocations: 85.81 kB / 0.8081 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01783/1.225, allocations: 4.45 MB / 0.8124 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.746e-06/1.225, allocations: 4 kB / 0.8125 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.225, allocations: 3.938 kB / 0.8125 GB, free: 11.74 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.0004338/1.226, allocations: 377 kB / 0.8128 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.226, allocations: 7.844 kB / 0.8128 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/1.226, allocations: 30.56 kB / 0.8129 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/1.226, allocations: 0 / 0.8129 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/1.226, allocations: 172.9 kB / 0.813 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.226, allocations: 3.938 kB / 0.813 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.226, allocations: 0 / 0.813 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/1.226, allocations: 46.56 kB / 0.8131 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.226, allocations: 0 / 0.8131 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.226, allocations: 3.375 kB / 0.8131 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/1.226, allocations: 0 / 0.8131 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/1.226, allocations: 7.812 kB / 0.8131 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/1.226, allocations: 162.2 kB / 0.8132 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.853e-05/1.226, allocations: 28.77 kB / 0.8133 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/1.227, allocations: 12.73 kB / 0.8133 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/1.227, allocations: 3.844 kB / 0.8133 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/1.227, allocations: 34.38 kB / 0.8133 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.227, allocations: 0 / 0.8133 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/1.227, allocations: 49.91 kB / 0.8134 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/1.227, allocations: 51.41 kB / 0.8134 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/1.227, allocations: 91.16 kB / 0.8135 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.227, allocations: 33.73 kB / 0.8135 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/1.227, allocations: 80.14 kB / 0.8136 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/1.227, allocations: 7.75 kB / 0.8136 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.227, allocations: 0 / 0.8136 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/1.227, allocations: 314.8 kB / 0.8139 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/1.227, allocations: 6.734 kB / 0.8139 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/1.227, allocations: 11.19 kB / 0.8139 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/1.227, allocations: 6.422 kB / 0.8139 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.227, allocations: 4.062 kB / 0.8139 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001124/1.227, allocations: 49.78 kB / 0.814 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.227, allocations: 3.719 kB / 0.814 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.227, allocations: 3.875 kB / 0.814 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.227, allocations: 0 / 0.814 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/1.227, allocations: 3.141 kB / 0.814 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.227, allocations: 3.938 kB / 0.814 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/1.228, allocations: 0 / 0.814 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/1.228, allocations: 7.781 kB / 0.814 GB, free: 10.15 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.811e-05/1.228, allocations: 112.3 kB / 0.8141 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/1.228, allocations: 7.781 kB / 0.8141 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/1.228, allocations: 69.02 kB / 0.8142 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.228, allocations: 3.938 kB / 0.8142 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.228, allocations: 0 / 0.8142 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.228, allocations: 0 / 0.8142 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/1.228, allocations: 159.9 kB / 0.8143 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.228, allocations: 3.875 kB / 0.8143 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/1.228, allocations: 0 / 0.8143 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.228, allocations: 6.562 kB / 0.8144 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/1.228, allocations: 0 / 0.8144 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.228, allocations: 0 / 0.8144 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.228, allocations: 0 / 0.8144 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/1.228, allocations: 70.89 kB / 0.8144 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/1.228, allocations: 88 kB / 0.8145 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.228, allocations: 0 / 0.8145 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/1.228, allocations: 0 / 0.8145 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/1.228, allocations: 7.938 kB / 0.8145 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/1.228, allocations: 2.062 kB / 0.8145 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.521e-05/1.228, allocations: 83.28 kB / 0.8146 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.228, allocations: 0 / 0.8146 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000451/1.229, allocations: 79.64 kB / 0.8147 GB, free: 9.508 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.001111/1.23, allocations: 0.8111 MB / 0.8155 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000497/1.231, allocations: 68.91 kB / 0.8155 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.231, allocations: 4.062 kB / 0.8155 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/1.231, allocations: 40.22 kB / 0.8156 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/1.231, allocations: 0 / 0.8156 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/1.232, allocations: 252.9 kB / 0.8158 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/1.232, allocations: 0.6791 MB / 0.8165 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.189e-05/1.232, allocations: 15.61 kB / 0.8165 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/1.232, allocations: 10.94 kB / 0.8165 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.232, allocations: 4.062 kB / 0.8165 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/1.261, allocations: 2.38 MB / 0.8188 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.262, allocations: 264.1 kB / 0.8191 GB, free: 23.2 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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1