Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.373/4.373, allocations: 460.4 MB / 472.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.841e-05, allocations: 0 / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 106.2 MB / 0.6719 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.868/1.12, allocations: 134.8 MB / 0.8036 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/1.12, allocations: 99.3 kB / 0.8036 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05763/1.178, allocations: 11.39 MB / 0.8148 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.555e-06/1.178, allocations: 0 / 0.8148 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.178, allocations: 3.844 kB / 0.8148 GB, free: 11.76 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.0006254/1.179, allocations: 432.2 kB / 0.8152 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/1.179, allocations: 7.688 kB / 0.8152 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/1.179, allocations: 41.36 kB / 0.8152 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/1.179, allocations: 15.52 kB / 0.8153 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.179, allocations: 172 kB / 0.8154 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/1.179, allocations: 4 kB / 0.8154 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/1.179, allocations: 7.656 kB / 0.8154 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/1.179, allocations: 123.4 kB / 0.8155 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.18, allocations: 0 / 0.8155 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/1.18, allocations: 3.812 kB / 0.8155 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.18, allocations: 0 / 0.8155 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/1.18, allocations: 72.03 kB / 0.8156 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/1.18, allocations: 158.4 kB / 0.8158 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/1.18, allocations: 117.2 kB / 0.8159 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/1.181, allocations: 99.41 kB / 0.816 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/1.181, allocations: 1.031 kB / 0.816 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.181, allocations: 30.56 kB / 0.816 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/1.181, allocations: 3.531 kB / 0.816 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0007527/1.181, allocations: 214.5 kB / 0.8162 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.182, allocations: 87.25 kB / 0.8163 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.182, allocations: 124.4 kB / 0.8164 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/1.182, allocations: 33.58 kB / 0.8164 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/1.182, allocations: 87.27 kB / 0.8165 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/1.182, allocations: 18.17 kB / 0.8165 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/1.182, allocations: 0 / 0.8165 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/1.182, allocations: 320.9 kB / 0.8169 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.182, allocations: 59.16 kB / 0.8169 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.182, allocations: 62.77 kB / 0.817 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/1.183, allocations: 83.3 kB / 0.817 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.183, allocations: 0 / 0.817 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006831/1.183, allocations: 213.7 kB / 0.8173 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/1.184, allocations: 42.72 kB / 0.8173 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.184, allocations: 3.938 kB / 0.8173 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.184, allocations: 1.875 kB / 0.8173 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/1.184, allocations: 3.938 kB / 0.8173 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.184, allocations: 3.844 kB / 0.8173 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/1.184, allocations: 18.5 kB / 0.8173 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/1.184, allocations: 14.02 kB / 0.8173 GB, free: 9.93 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.0001931/1.184, allocations: 154.3 kB / 0.8175 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/1.185, allocations: 18.31 kB / 0.8175 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/1.185, allocations: 4.625 kB / 0.8175 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.185, allocations: 0 / 0.8175 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.185, allocations: 0 / 0.8175 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.185, allocations: 0 / 0.8175 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/1.185, allocations: 175.1 kB / 0.8177 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.185, allocations: 0 / 0.8177 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/1.185, allocations: 0 / 0.8177 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.185, allocations: 3.844 kB / 0.8177 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/1.185, allocations: 13.31 kB / 0.8177 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.185, allocations: 8.062 kB / 0.8177 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.185, allocations: 0 / 0.8177 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/1.186, allocations: 274.8 kB / 0.818 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/1.186, allocations: 86.05 kB / 0.818 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/1.186, allocations: 7.688 kB / 0.818 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.186, allocations: 14.69 kB / 0.8181 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/1.186, allocations: 18.83 kB / 0.8181 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/1.187, allocations: 22.19 kB / 0.8181 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.792e-05/1.187, allocations: 89.89 kB / 0.8182 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.674e-06/1.187, allocations: 0 / 0.8182 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008431/1.188, allocations: 117 kB / 0.8183 GB, free: 9.258 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.002818/1.19, allocations: 1.129 MB / 0.8194 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007943/1.191, allocations: 281.7 kB / 0.8197 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.191, allocations: 0 / 0.8197 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/1.192, allocations: 211.8 kB / 0.8199 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/1.192, allocations: 15.17 kB / 0.8199 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/1.194, allocations: 0.5663 MB / 0.8204 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.195, allocations: 0.6861 MB / 0.8211 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001418/1.195, allocations: 61.72 kB / 0.8212 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/1.195, allocations: 12.97 kB / 0.8212 GB, free: 23.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/1.195, allocations: 0 / 0.8212 GB, free: 23.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/1.244, allocations: 4.716 MB / 0.8258 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003692/1.244, allocations: 247.4 kB / 0.826 GB, free: 20.81 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_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_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_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1