Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.52/4.52, allocations: 432.8 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.712e-05, allocations: 4.25 kB / 0.5338 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 98.72 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/0.4662, allocations: 127.3 MB / 0.7545 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/0.4667, allocations: 87.94 kB / 0.7546 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1037/0.5704, allocations: 10.72 MB / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5705, allocations: 0 / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.5705, allocations: 0 / 0.7651 GB, free: 11.77 MB / 0.6511 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.000608/0.5712, allocations: 432.1 kB / 0.7655 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5712, allocations: 8.031 kB / 0.7655 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.185e-05/0.5713, allocations: 34.56 kB / 0.7655 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.5714, allocations: 11.86 kB / 0.7656 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.5716, allocations: 178.9 kB / 0.7657 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.5716, allocations: 4 kB / 0.7657 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.5717, allocations: 4 kB / 0.7657 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.572, allocations: 121.6 kB / 0.7659 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.572, allocations: 4 kB / 0.7659 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.5721, allocations: 4 kB / 0.7659 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5721, allocations: 0 / 0.7659 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.5723, allocations: 67.91 kB / 0.7659 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.5725, allocations: 161.7 kB / 0.7661 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.5728, allocations: 114.5 kB / 0.7662 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.5731, allocations: 104.9 kB / 0.7663 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.5731, allocations: 0 / 0.7663 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.5731, allocations: 38.56 kB / 0.7663 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.5731, allocations: 0 / 0.7663 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0006554/0.5738, allocations: 211.2 kB / 0.7665 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.5739, allocations: 85.11 kB / 0.7666 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.5741, allocations: 120.8 kB / 0.7667 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.5742, allocations: 25.7 kB / 0.7667 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.5742, allocations: 92.12 kB / 0.7668 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.5743, allocations: 15.75 kB / 0.7669 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.5743, allocations: 11.97 kB / 0.7669 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5745, allocations: 318.8 kB / 0.7672 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.5747, allocations: 63.89 kB / 0.7672 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.5749, allocations: 59.95 kB / 0.7673 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.5751, allocations: 89.64 kB / 0.7674 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5751, allocations: 0 / 0.7674 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006076/0.5757, allocations: 207.3 kB / 0.7676 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.5758, allocations: 47.88 kB / 0.7676 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5758, allocations: 0 / 0.7676 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5759, allocations: 4.062 kB / 0.7676 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-06/0.5759, allocations: 0 / 0.7676 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5759, allocations: 4 kB / 0.7676 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.5763, allocations: 15.89 kB / 0.7676 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.5764, allocations: 12 kB / 0.7676 GB, free: 8.898 MB / 0.6511 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.0002138/0.5766, allocations: 158.6 kB / 0.7678 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.5767, allocations: 11.91 kB / 0.7678 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.5767, allocations: 8.625 kB / 0.7678 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.5767, allocations: 0 / 0.7678 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5768, allocations: 4 kB / 0.7678 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5768, allocations: 3.984 kB / 0.7678 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.577, allocations: 173.6 kB / 0.768 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.577, allocations: 3.938 kB / 0.768 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-06/0.577, allocations: 0 / 0.768 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.577, allocations: 0 / 0.768 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.5771, allocations: 15.98 kB / 0.768 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5771, allocations: 64 / 0.768 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5771, allocations: 4 kB / 0.768 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.5778, allocations: 278.5 kB / 0.7683 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.5779, allocations: 89 kB / 0.7684 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.578, allocations: 11.94 kB / 0.7684 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.5784, allocations: 11.98 kB / 0.7684 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.5785, allocations: 8 kB / 0.7684 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.5785, allocations: 15.98 kB / 0.7684 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001004/0.5786, allocations: 99.58 kB / 0.7685 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.72e-07/0.5787, allocations: 0 / 0.7685 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006569/0.5793, allocations: 107.9 kB / 0.7686 GB, free: 7.805 MB / 0.6511 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.0022/0.5815, allocations: 1.126 MB / 0.7697 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000717/0.5823, allocations: 291.2 kB / 0.77 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5823, allocations: 0 / 0.77 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.5827, allocations: 211.3 kB / 0.7702 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.5829, allocations: 4 kB / 0.7702 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.585, allocations: 0.5534 MB / 0.7707 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5854, allocations: 0.6848 MB / 0.7714 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.5855, allocations: 51.86 kB / 0.7715 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.5856, allocations: 11.44 kB / 0.7715 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.5856, allocations: 0 / 0.7715 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.6177, allocations: 4.663 MB / 0.776 GB, free: 280 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.6662/1.284, allocations: 241.8 kB / 0.7762 GB, free: 144 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_Exchange.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_6_0_0_Buildings_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_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_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_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_Exchange_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1