Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.45/4.45, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.469e-05, allocations: 5.109 kB / 0.5338 GB, free: 12.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2514, allocations: 98.72 MB / 0.6302 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.5162, allocations: 125.9 MB / 0.7532 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004276/0.5167, allocations: 95.86 kB / 0.7533 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02052/0.5373, allocations: 4.437 MB / 0.7576 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5373, allocations: 0 / 0.7576 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5374, allocations: 0 / 0.7576 GB, free: 3.465 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.0005142/0.5379, allocations: 378.4 kB / 0.758 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5379, allocations: 8.031 kB / 0.758 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.538, allocations: 30.56 kB / 0.758 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.538, allocations: 3.953 kB / 0.758 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.5382, allocations: 171 kB / 0.7582 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.5382, allocations: 4 kB / 0.7582 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.5383, allocations: 4 kB / 0.7582 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5384, allocations: 37.69 kB / 0.7582 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5384, allocations: 0 / 0.7582 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5385, allocations: 4 kB / 0.7582 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5385, allocations: 0 / 0.7582 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.5385, allocations: 7.953 kB / 0.7582 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.5388, allocations: 161.6 kB / 0.7584 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.5389, allocations: 30.59 kB / 0.7584 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.5389, allocations: 20.86 kB / 0.7584 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.539, allocations: 3.984 kB / 0.7584 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.539, allocations: 34.56 kB / 0.7585 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.539, allocations: 0 / 0.7585 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/0.5392, allocations: 45.69 kB / 0.7585 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.5393, allocations: 51.41 kB / 0.7586 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.5394, allocations: 101 kB / 0.7587 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.5395, allocations: 29.7 kB / 0.7587 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.5395, allocations: 80.14 kB / 0.7588 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.5396, allocations: 7.844 kB / 0.7588 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5396, allocations: 0 / 0.7588 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5397, allocations: 314.8 kB / 0.7591 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.5398, allocations: 8 kB / 0.7591 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.5398, allocations: 12.11 kB / 0.7591 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.5399, allocations: 7.938 kB / 0.7591 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5399, allocations: 0 / 0.7591 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001309/0.54, allocations: 49.69 kB / 0.7591 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5401, allocations: 10.44 kB / 0.7592 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.5401, allocations: 7.984 kB / 0.7592 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5401, allocations: 0 / 0.7592 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.5401, allocations: 0 / 0.7592 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5402, allocations: 0 / 0.7592 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.5402, allocations: 0 / 0.7592 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5402, allocations: 12.05 kB / 0.7592 GB, free: 1.645 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 9.192e-05/0.5403, allocations: 105 kB / 0.7593 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.5404, allocations: 7.906 kB / 0.7593 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.5406, allocations: 69.55 kB / 0.7593 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5406, allocations: 0 / 0.7593 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5406, allocations: 4 kB / 0.7593 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5406, allocations: 0 / 0.7593 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.5408, allocations: 153.6 kB / 0.7595 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5408, allocations: 4.031 kB / 0.7595 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-06/0.5408, allocations: 0 / 0.7595 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5409, allocations: 0 / 0.7595 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5409, allocations: 11.98 kB / 0.7595 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5409, allocations: 3.984 kB / 0.7595 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5409, allocations: 4 kB / 0.7595 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.541, allocations: 65.08 kB / 0.7596 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.5411, allocations: 77.11 kB / 0.7597 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.5411, allocations: 4.031 kB / 0.7597 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.5412, allocations: 11.94 kB / 0.7597 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.5413, allocations: 3.984 kB / 0.7597 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.5413, allocations: 4 kB / 0.7597 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.5414, allocations: 84.58 kB / 0.7598 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.978e-06/0.5414, allocations: 0 / 0.7598 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004765/0.5419, allocations: 71.86 kB / 0.7598 GB, free: 0.8711 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.001314/0.5432, allocations: 0.8194 MB / 0.7606 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5434, allocations: 75.33 kB / 0.7607 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5435, allocations: 0 / 0.7607 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.5435, allocations: 29.7 kB / 0.7607 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.5437, allocations: 4 kB / 0.7607 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5449, allocations: 250.4 kB / 0.761 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.5452, allocations: 0.6809 MB / 0.7616 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.489e-05/0.5453, allocations: 16.11 kB / 0.7616 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.5453, allocations: 7.438 kB / 0.7617 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.113e-06/0.5454, allocations: 0 / 0.7617 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.5761, allocations: 2.369 MB / 0.764 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003893/0.5766, allocations: 257.9 kB / 0.7642 GB, free: 12.34 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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_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_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/python27Wrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1