Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.232/2.232, allocations: 248.5 MB / 261 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 177.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 95.77 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.39e-05/4.404e-05, allocations: 0 / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2685, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9443/1.213, allocations: 134.4 MB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.213, allocations: 87.12 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05479/1.268, allocations: 10.73 MB / 1.033 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.268, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.268, allocations: 8 kB / 1.033 GB, free: 7.973 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.0006427/1.269, allocations: 430.3 kB / 1.033 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.269, allocations: 12.03 kB / 1.033 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/1.269, allocations: 38.5 kB / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/1.269, allocations: 11.86 kB / 1.033 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/1.269, allocations: 174.8 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.269, allocations: 4 kB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/1.269, allocations: 4 kB / 1.033 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/1.27, allocations: 124.6 kB / 1.033 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.27, allocations: 3.984 kB / 1.033 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/1.27, allocations: 4 kB / 1.033 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/1.27, allocations: 0 / 1.033 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/1.27, allocations: 66.41 kB / 1.033 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/1.27, allocations: 161.5 kB / 1.034 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/1.27, allocations: 115.7 kB / 1.034 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/1.271, allocations: 100.7 kB / 1.034 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/1.271, allocations: 4 kB / 1.034 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.271, allocations: 34.55 kB / 1.034 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/1.271, allocations: 0 / 1.034 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000609/1.271, allocations: 208.9 kB / 1.034 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/1.271, allocations: 96.41 kB / 1.034 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.272, allocations: 120 kB / 1.034 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/1.272, allocations: 29.7 kB / 1.034 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/1.272, allocations: 91.38 kB / 1.034 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/1.272, allocations: 15.84 kB / 1.034 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/1.272, allocations: 0 / 1.034 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.272, allocations: 322.4 kB / 1.035 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.272, allocations: 59.83 kB / 1.035 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/1.272, allocations: 62.14 kB / 1.035 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/1.273, allocations: 90.58 kB / 1.035 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.273, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005572/1.273, allocations: 202.8 kB / 1.035 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/1.273, allocations: 41.69 kB / 1.035 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.273, allocations: 8.047 kB / 1.035 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.273, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/1.273, allocations: 3.938 kB / 1.035 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.273, allocations: 4 kB / 1.035 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/1.274, allocations: 23.89 kB / 1.035 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/1.274, allocations: 15.25 kB / 1.035 GB, free: 5.277 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.0001992/1.274, allocations: 154.6 kB / 1.035 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/1.274, allocations: 15.28 kB / 1.035 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/1.274, allocations: 8.625 kB / 1.035 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.274, allocations: 4 kB / 1.035 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.274, allocations: 0 / 1.035 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.274, allocations: 0 / 1.035 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/1.274, allocations: 177 kB / 1.035 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.274, allocations: 0 / 1.035 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/1.274, allocations: 0 / 1.035 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.274, allocations: 0 / 1.035 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/1.274, allocations: 15.42 kB / 1.035 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.274, allocations: 0 / 1.035 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.274, allocations: 0 / 1.035 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/1.275, allocations: 276.3 kB / 1.036 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/1.275, allocations: 96.36 kB / 1.036 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/1.275, allocations: 8 kB / 1.036 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/1.276, allocations: 11.98 kB / 1.036 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/1.276, allocations: 8.375 kB / 1.036 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/1.276, allocations: 15.36 kB / 1.036 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.43e-05/1.276, allocations: 98.45 kB / 1.036 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.276, allocations: 4.031 kB / 1.036 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006207/1.277, allocations: 103 kB / 1.036 GB, free: 4.25 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.002067/1.279, allocations: 1.104 MB / 1.037 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006429/1.279, allocations: 293.5 kB / 1.037 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.279, allocations: 0 / 1.037 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/1.28, allocations: 208.5 kB / 1.038 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/1.28, allocations: 4 kB / 1.038 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/1.282, allocations: 0.5534 MB / 1.038 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/1.282, allocations: 0.6889 MB / 1.039 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001303/1.282, allocations: 51.81 kB / 1.039 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/1.283, allocations: 18.92 kB / 1.039 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/1.283, allocations: 0 / 1.039 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/1.313, allocations: 4.662 MB / 1.043 GB, free: 13 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/1.313, allocations: 224.6 kB / 1.044 GB, free: 12.78 MB / 0.6667 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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