Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_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.862/1.862, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001712/0.001712, allocations: 180.8 kB / 371.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001065/0.001065, allocations: 88.92 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.736e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3087, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.313, allocations: 142.3 MB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/1.314, allocations: 94.56 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02738/1.341, allocations: 11.38 MB / 1.13 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.605e-06/1.341, allocations: 0.6562 kB / 1.13 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.717e-06/1.341, allocations: 3.938 kB / 1.13 GB, free: 36.18 MB / 0.7448 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.0004936/1.342, allocations: 431.9 kB / 1.13 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.342, allocations: 8.031 kB / 1.13 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/1.342, allocations: 38.25 kB / 1.131 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/1.342, allocations: 12.88 kB / 1.131 GB, free: 35.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.342, allocations: 173.8 kB / 1.131 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.342, allocations: 4.562 kB / 1.131 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/1.342, allocations: 8 kB / 1.131 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/1.342, allocations: 127.4 kB / 1.131 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.342, allocations: 4 kB / 1.131 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.342, allocations: 0 / 1.131 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.342, allocations: 1.375 kB / 1.131 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/1.343, allocations: 58.94 kB / 1.131 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/1.343, allocations: 168.2 kB / 1.131 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/1.343, allocations: 109.1 kB / 1.131 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/1.343, allocations: 108.4 kB / 1.131 GB, free: 35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/1.343, allocations: 0 / 1.131 GB, free: 35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/1.343, allocations: 34.56 kB / 1.131 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/1.343, allocations: 3.938 kB / 1.131 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003542/1.343, allocations: 206.2 kB / 1.131 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.343, allocations: 91.11 kB / 1.132 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/1.344, allocations: 116 kB / 1.132 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/1.344, allocations: 29.73 kB / 1.132 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/1.344, allocations: 89.58 kB / 1.132 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/1.344, allocations: 23.25 kB / 1.132 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/1.344, allocations: 4 kB / 1.132 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/1.344, allocations: 318.7 kB / 1.132 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/1.344, allocations: 59.09 kB / 1.132 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/1.344, allocations: 63.92 kB / 1.132 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/1.344, allocations: 86.23 kB / 1.132 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.344, allocations: 0 / 1.132 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002649/1.344, allocations: 219.4 kB / 1.133 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.344, allocations: 41.08 kB / 1.133 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.344, allocations: 4.5 kB / 1.133 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.344, allocations: 0.6562 kB / 1.133 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/1.344, allocations: 0 / 1.133 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.344, allocations: 0 / 1.133 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/1.345, allocations: 19.56 kB / 1.133 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/1.345, allocations: 11.47 kB / 1.133 GB, free: 33.72 MB / 0.7448 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.00011/1.345, allocations: 158.3 kB / 1.133 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.345, allocations: 19.94 kB / 1.133 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/1.345, allocations: 5.375 kB / 1.133 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.345, allocations: 0 / 1.133 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.345, allocations: 0 / 1.133 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/1.345, allocations: 0 / 1.133 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/1.345, allocations: 174.9 kB / 1.133 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.345, allocations: 1.625 kB / 1.133 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-06/1.345, allocations: 3.562 kB / 1.133 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/1.345, allocations: 0 / 1.133 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.345, allocations: 10.25 kB / 1.133 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.345, allocations: 8.375 kB / 1.133 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.345, allocations: 4 kB / 1.133 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/1.345, allocations: 273.5 kB / 1.133 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/1.345, allocations: 99.56 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/1.345, allocations: 4 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.346, allocations: 16.53 kB / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/1.346, allocations: 7.516 kB / 1.133 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/1.346, allocations: 23.48 kB / 1.133 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.843e-05/1.346, allocations: 93.22 kB / 1.133 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.346, allocations: 0 / 1.133 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004194/1.346, allocations: 113.4 kB / 1.134 GB, free: 32.77 MB / 0.7448 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.001269/1.347, allocations: 1.097 MB / 1.135 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003781/1.348, allocations: 290.1 kB / 1.135 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.348, allocations: 0 / 1.135 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.348, allocations: 214.3 kB / 1.135 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/1.348, allocations: 7.938 kB / 1.135 GB, free: 31.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.349, allocations: 0.5752 MB / 1.136 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.349, allocations: 0.6843 MB / 1.136 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.365e-05/1.35, allocations: 52.75 kB / 1.136 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/1.35, allocations: 15.12 kB / 1.136 GB, free: 30.35 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.35, allocations: 0 / 1.136 GB, free: 30.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/1.369, allocations: 4.738 MB / 1.141 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.369, allocations: 240.7 kB / 1.141 GB, free: 27.33 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_Buildings_Obsolete_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_Buildings_Obsolete_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_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_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_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1