Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.851/1.851, allocations: 288.2 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 181.9 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6305 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 89.16 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 10.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.283, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7319/1.015, allocations: 141 MB / 1.117 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.015, allocations: 91.56 kB / 1.117 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02593/1.041, allocations: 10.9 MB / 1.128 GB, free: 31.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.041, allocations: 3.875 kB / 1.128 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.041, allocations: 0 / 1.128 GB, free: 31.21 MB / 0.698 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.0004636/1.042, allocations: 439.5 kB / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.042, allocations: 15.52 kB / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/1.042, allocations: 38 kB / 1.128 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.042, allocations: 3.844 kB / 1.128 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/1.042, allocations: 178.8 kB / 1.129 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.042, allocations: 7.875 kB / 1.129 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/1.042, allocations: 3.875 kB / 1.129 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/1.042, allocations: 123.5 kB / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/1.042, allocations: 0 / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.042, allocations: 3.812 kB / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/1.042, allocations: 0 / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/1.042, allocations: 66.19 kB / 1.129 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/1.043, allocations: 165.3 kB / 1.129 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/1.043, allocations: 115.8 kB / 1.129 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/1.043, allocations: 0 / 1.129 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.043, allocations: 34.34 kB / 1.129 GB, free: 30.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/1.043, allocations: 3.938 kB / 1.129 GB, free: 30.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004848/1.043, allocations: 353.3 kB / 1.129 GB, free: 29.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.043, allocations: 92.75 kB / 1.129 GB, free: 29.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/1.043, allocations: 119.9 kB / 1.13 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.043, allocations: 29.69 kB / 1.13 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/1.043, allocations: 91.77 kB / 1.13 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/1.043, allocations: 15.52 kB / 1.13 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/1.043, allocations: 4.219 kB / 1.13 GB, free: 29.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.044, allocations: 322.6 kB / 1.13 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/1.044, allocations: 58.2 kB / 1.13 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/1.044, allocations: 69.56 kB / 1.13 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/1.044, allocations: 91.56 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.044, allocations: 0 / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002467/1.044, allocations: 217 kB / 1.13 GB, free: 29.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/1.044, allocations: 49.12 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.044, allocations: 0 / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.044, allocations: 3.875 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/1.044, allocations: 0 / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/1.044, allocations: 0 / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/1.044, allocations: 14.7 kB / 1.131 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.045, allocations: 15.61 kB / 1.131 GB, free: 29.07 MB / 0.698 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 () * Number of clocked 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.0001341/1.045, allocations: 162.4 kB / 1.131 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/1.045, allocations: 19.67 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/1.045, allocations: 12.09 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/1.045, allocations: 0 / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.045, allocations: 0 / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/1.045, allocations: 0 / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.038e-05/1.045, allocations: 180.4 kB / 1.131 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.045, allocations: 0 / 1.131 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.045, allocations: 0 / 1.131 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/1.045, allocations: 0 / 1.131 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/1.045, allocations: 15.17 kB / 1.131 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.045, allocations: 3.938 kB / 1.131 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/1.045, allocations: 4 kB / 1.131 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/1.045, allocations: 273.8 kB / 1.131 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/1.045, allocations: 92.08 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/1.045, allocations: 7.5 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.045, allocations: 11.73 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/1.045, allocations: 11.62 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/1.046, allocations: 18.83 kB / 1.131 GB, free: 28.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.818e-05/1.046, allocations: 94.42 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.046, allocations: 0 / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003947/1.046, allocations: 111.6 kB / 1.131 GB, free: 28.3 MB / 0.698 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]) * Number of clocked states: 0 () * 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.001216/1.047, allocations: 1.117 MB / 1.133 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002989/1.048, allocations: 285.9 kB / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.048, allocations: 0 / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.048, allocations: 209.2 kB / 1.133 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/1.048, allocations: 10.69 kB / 1.133 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.049, allocations: 0.6122 MB / 1.134 GB, free: 26.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/1.049, allocations: 0.6845 MB / 1.134 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.838e-05/1.049, allocations: 54.66 kB / 1.134 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/1.049, allocations: 11.34 kB / 1.134 GB, free: 26.24 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.049, allocations: 0 / 1.134 GB, free: 26.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/1.065, allocations: 4.668 MB / 1.139 GB, free: 23.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.066, allocations: 265 kB / 1.139 GB, free: 23.54 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_maint_8_0_x_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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/pythonWrapper.c:22:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1