Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.379/4.379, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.376e-05/5.358e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9832/1.265, allocations: 134.8 MB / 0.8094 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.265, allocations: 82.95 kB / 0.8095 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04967/1.315, allocations: 10.73 MB / 0.82 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.085e-06/1.315, allocations: 0 / 0.82 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.315, allocations: 3.938 kB / 0.82 GB, free: 11.25 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.0004795/1.315, allocations: 427 kB / 0.8204 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.315, allocations: 7.469 kB / 0.8204 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/1.315, allocations: 37.53 kB / 0.8204 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/1.315, allocations: 15.81 kB / 0.8205 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.316, allocations: 179.9 kB / 0.8206 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.316, allocations: 0 / 0.8206 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/1.316, allocations: 7.844 kB / 0.8206 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/1.316, allocations: 120.5 kB / 0.8208 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.316, allocations: 0 / 0.8208 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/1.316, allocations: 7.844 kB / 0.8208 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.316, allocations: 4 kB / 0.8208 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/1.316, allocations: 62.47 kB / 0.8208 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/1.316, allocations: 165.1 kB / 0.821 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/1.317, allocations: 109.8 kB / 0.8211 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.317, allocations: 103.1 kB / 0.8212 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/1.317, allocations: 3.938 kB / 0.8212 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/1.317, allocations: 33.56 kB / 0.8212 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/1.317, allocations: 4 kB / 0.8212 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005454/1.317, allocations: 209.1 kB / 0.8214 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/1.317, allocations: 91.14 kB / 0.8215 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.318, allocations: 120.5 kB / 0.8216 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.318, allocations: 25.7 kB / 0.8217 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/1.318, allocations: 91.62 kB / 0.8217 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/1.318, allocations: 15.34 kB / 0.8218 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/1.318, allocations: 3.875 kB / 0.8218 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/1.318, allocations: 318.8 kB / 0.8221 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.318, allocations: 61.45 kB / 0.8221 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/1.318, allocations: 61.39 kB / 0.8222 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/1.318, allocations: 91.83 kB / 0.8223 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.318, allocations: 0 / 0.8223 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004677/1.319, allocations: 209.6 kB / 0.8225 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/1.319, allocations: 43.66 kB / 0.8225 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.319, allocations: 3.844 kB / 0.8225 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.319, allocations: 0 / 0.8225 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/1.319, allocations: 0 / 0.8225 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.319, allocations: 4.062 kB / 0.8225 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/1.319, allocations: 23.52 kB / 0.8225 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/1.319, allocations: 15.22 kB / 0.8226 GB, free: 9.348 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.0001434/1.32, allocations: 154.3 kB / 0.8227 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/1.32, allocations: 12 kB / 0.8227 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/1.32, allocations: 8.312 kB / 0.8227 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.32, allocations: 0 / 0.8227 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.32, allocations: 3.812 kB / 0.8227 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/1.32, allocations: 7.938 kB / 0.8227 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/1.32, allocations: 173 kB / 0.8229 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.32, allocations: 4 kB / 0.8229 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/1.32, allocations: 7.797 kB / 0.8229 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.32, allocations: 0 / 0.8229 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/1.32, allocations: 15.55 kB / 0.8229 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.32, allocations: 0 / 0.8229 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.32, allocations: 0 / 0.8229 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/1.321, allocations: 275.1 kB / 0.8232 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/1.321, allocations: 96.67 kB / 0.8233 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/1.321, allocations: 7.719 kB / 0.8233 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/1.321, allocations: 11.8 kB / 0.8233 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/1.321, allocations: 7.688 kB / 0.8233 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/1.321, allocations: 15.36 kB / 0.8233 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.925e-05/1.321, allocations: 94.23 kB / 0.8234 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.321, allocations: 0 / 0.8234 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005763/1.322, allocations: 105 kB / 0.8235 GB, free: 8.594 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.002219/1.324, allocations: 1.14 MB / 0.8246 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005651/1.325, allocations: 286.2 kB / 0.8249 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.325, allocations: 0 / 0.8249 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/1.325, allocations: 213.2 kB / 0.8251 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/1.325, allocations: 3.844 kB / 0.8251 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/1.327, allocations: 0.5602 MB / 0.8256 GB, free: 23.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.327, allocations: 0.6807 MB / 0.8263 GB, free: 22.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000106/1.327, allocations: 50.89 kB / 0.8264 GB, free: 22.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/1.328, allocations: 11.28 kB / 0.8264 GB, free: 22.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.328, allocations: 0 / 0.8264 GB, free: 22.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/1.362, allocations: 4.663 MB / 0.8309 GB, free: 20.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003805/1.363, allocations: 235.1 kB / 0.8312 GB, free: 19.88 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_Exchange.o Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1