Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001198/0.001198, allocations: 184.3 kB / 377.1 MB, free: 1.527 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.285/2.285, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 97.11 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3076, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7559/1.064, allocations: 141.4 MB / 1.127 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.064, allocations: 93.81 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02636/1.09, allocations: 10.48 MB / 1.137 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.555e-06/1.09, allocations: 0 / 1.137 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.09, allocations: 0 / 1.137 GB, free: 26.04 MB / 0.7292 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.0004384/1.091, allocations: 434.8 kB / 1.137 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.091, allocations: 16.89 kB / 1.137 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/1.091, allocations: 35.31 kB / 1.137 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/1.091, allocations: 10.86 kB / 1.137 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.091, allocations: 172.4 kB / 1.138 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.091, allocations: 7.438 kB / 1.138 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.091, allocations: 4 kB / 1.138 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/1.091, allocations: 131.4 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.091, allocations: 0.5156 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.091, allocations: 0 / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.091, allocations: 4.844 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/1.092, allocations: 58.39 kB / 1.138 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/1.092, allocations: 161.6 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/1.092, allocations: 113.3 kB / 1.138 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/1.092, allocations: 4.031 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/1.092, allocations: 37.61 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/1.092, allocations: 3.984 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005202/1.092, allocations: 356.8 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/1.092, allocations: 87.88 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/1.093, allocations: 120.8 kB / 1.139 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/1.093, allocations: 33.73 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/1.093, allocations: 84.89 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/1.093, allocations: 21.06 kB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/1.093, allocations: 3.938 kB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/1.093, allocations: 324.8 kB / 1.139 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/1.093, allocations: 58.39 kB / 1.139 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/1.093, allocations: 61.72 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/1.093, allocations: 89.47 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.093, allocations: 0 / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002754/1.093, allocations: 221.2 kB / 1.139 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/1.093, allocations: 41.97 kB / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.093, allocations: 0 / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.093, allocations: 0.6562 kB / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/1.093, allocations: 0 / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.093, allocations: 4 kB / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/1.094, allocations: 11.7 kB / 1.139 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/1.094, allocations: 14.86 kB / 1.139 GB, free: 23.34 MB / 0.7292 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.0001149/1.094, allocations: 172.2 kB / 1.14 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/1.094, allocations: 11.91 kB / 1.14 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/1.094, allocations: 10.91 kB / 1.14 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.094, allocations: 4 kB / 1.14 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.094, allocations: 1.312 kB / 1.14 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.094, allocations: 0.8438 kB / 1.14 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.846e-05/1.094, allocations: 172.9 kB / 1.14 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.094, allocations: 0 / 1.14 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/1.094, allocations: 7.938 kB / 1.14 GB, free: 22.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.094, allocations: 0.7031 kB / 1.14 GB, free: 22.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/1.094, allocations: 14.53 kB / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.094, allocations: 0.6562 kB / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.094, allocations: 0 / 1.14 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.094, allocations: 274.5 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/1.094, allocations: 96.47 kB / 1.14 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/1.094, allocations: 9.453 kB / 1.14 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.095, allocations: 12.36 kB / 1.14 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/1.095, allocations: 10.75 kB / 1.14 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/1.095, allocations: 19.61 kB / 1.14 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.083e-05/1.095, allocations: 96.39 kB / 1.14 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.095, allocations: 0 / 1.14 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000375/1.095, allocations: 94.27 kB / 1.14 GB, free: 22.34 MB / 0.7292 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.001057/1.096, allocations: 1.049 MB / 1.141 GB, free: 21.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003276/1.097, allocations: 280.7 kB / 1.142 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.097, allocations: 0 / 1.142 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.097, allocations: 212.4 kB / 1.142 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/1.097, allocations: 12.62 kB / 1.142 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.098, allocations: 0.5932 MB / 1.143 GB, free: 20.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/1.098, allocations: 0.6857 MB / 1.143 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.61e-05/1.098, allocations: 54.44 kB / 1.143 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/1.098, allocations: 19.94 kB / 1.143 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.098, allocations: 0 / 1.143 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/1.118, allocations: 4.389 MB / 1.148 GB, free: 17.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.118, allocations: 251.8 kB / 1.148 GB, free: 16.89 MB / 0.7292 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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/pythonWrapper.c:22:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1