Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.838/4.838, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.272e-05/5.272e-05, allocations: 8 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9303/1.184, allocations: 134.4 MB / 0.8031 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.184, allocations: 93.34 kB / 0.8032 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04584/1.23, allocations: 10.72 MB / 0.8137 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.494e-06/1.23, allocations: 3.844 kB / 0.8137 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.23, allocations: 0 / 0.8137 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.0004848/1.23, allocations: 434.4 kB / 0.8141 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.23, allocations: 11.69 kB / 0.8141 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/1.23, allocations: 37.23 kB / 0.8142 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/1.231, allocations: 15.42 kB / 0.8142 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/1.231, allocations: 174.7 kB / 0.8143 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.231, allocations: 3.984 kB / 0.8143 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/1.231, allocations: 7.531 kB / 0.8144 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/1.231, allocations: 127.6 kB / 0.8145 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.231, allocations: 0 / 0.8145 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/1.231, allocations: 0 / 0.8145 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.231, allocations: 0 / 0.8145 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/1.231, allocations: 70.66 kB / 0.8145 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/1.232, allocations: 160.2 kB / 0.8147 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/1.232, allocations: 116.1 kB / 0.8148 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/1.232, allocations: 97.7 kB / 0.8149 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/1.232, allocations: 0 / 0.8149 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/1.232, allocations: 34.5 kB / 0.8149 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/1.232, allocations: 0 / 0.8149 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005275/1.233, allocations: 215.4 kB / 0.8151 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.233, allocations: 91.83 kB / 0.8152 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/1.233, allocations: 123.2 kB / 0.8153 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/1.233, allocations: 29.55 kB / 0.8154 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/1.233, allocations: 90.27 kB / 0.8155 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/1.233, allocations: 14.84 kB / 0.8155 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/1.233, allocations: 4.219 kB / 0.8155 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/1.233, allocations: 316.8 kB / 0.8158 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/1.233, allocations: 60.16 kB / 0.8158 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/1.233, allocations: 60.84 kB / 0.8159 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/1.233, allocations: 92.78 kB / 0.816 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.233, allocations: 0 / 0.816 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004485/1.234, allocations: 208.4 kB / 0.8162 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.234, allocations: 43.95 kB / 0.8162 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.234, allocations: 0 / 0.8162 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.234, allocations: 2.578 kB / 0.8162 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/1.234, allocations: 0 / 0.8162 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.234, allocations: 0 / 0.8162 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/1.234, allocations: 22.22 kB / 0.8162 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/1.234, allocations: 18.11 kB / 0.8163 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.0001378/1.235, allocations: 153.1 kB / 0.8164 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/1.235, allocations: 17.69 kB / 0.8164 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/1.235, allocations: 4.625 kB / 0.8164 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.235, allocations: 3.938 kB / 0.8164 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.235, allocations: 0 / 0.8164 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.235, allocations: 0 / 0.8164 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/1.235, allocations: 181.9 kB / 0.8166 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.235, allocations: 4 kB / 0.8166 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/1.235, allocations: 2.359 kB / 0.8166 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.235, allocations: 7.875 kB / 0.8166 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/1.235, allocations: 10.36 kB / 0.8166 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.235, allocations: 0 / 0.8166 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.235, allocations: 3.984 kB / 0.8166 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/1.236, allocations: 276.5 kB / 0.8169 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/1.236, allocations: 83.22 kB / 0.817 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/1.236, allocations: 14.39 kB / 0.817 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/1.236, allocations: 10.45 kB / 0.817 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/1.236, allocations: 10.31 kB / 0.817 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/1.236, allocations: 17.17 kB / 0.817 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.147e-05/1.236, allocations: 95.17 kB / 0.8171 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.236, allocations: 0 / 0.8171 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006003/1.237, allocations: 113.4 kB / 0.8172 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.002155/1.239, allocations: 1.133 MB / 0.8183 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006043/1.24, allocations: 283.4 kB / 0.8186 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.24, allocations: 0 / 0.8186 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/1.24, allocations: 206.2 kB / 0.8188 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.0001605/1.24, allocations: 7.125 kB / 0.8188 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/1.242, allocations: 0.5548 MB / 0.8193 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/1.242, allocations: 0.6856 MB / 0.82 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000104/1.242, allocations: 50.86 kB / 0.8201 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/1.243, allocations: 11.12 kB / 0.8201 GB, free: 23.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.243, allocations: 3.938 kB / 0.8201 GB, free: 23.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/1.278, allocations: 4.655 MB / 0.8246 GB, free: 21.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000362/1.279, allocations: 237.8 kB / 0.8249 GB, free: 21.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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1