Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 188.7 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008888/0.0008889, allocations: 89.98 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.000419, allocations: 14.3 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.4744, allocations: 135.1 MB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.4748, allocations: 95.94 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03144/0.5063, allocations: 11.58 MB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5064, allocations: 0 / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5064, allocations: 0 / 1.043 GB, free: 12.81 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.0005867/0.507, allocations: 444.8 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.507, allocations: 8.031 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.526e-05/0.5071, allocations: 42.55 kB / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.5072, allocations: 15.86 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.5073, allocations: 167.1 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5073, allocations: 4 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.5074, allocations: 11.94 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.5076, allocations: 121.6 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5077, allocations: 4 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.5077, allocations: 4 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5077, allocations: 0 / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.5078, allocations: 59.95 kB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.508, allocations: 165.7 kB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.5082, allocations: 118.8 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.5082, allocations: 3.938 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5083, allocations: 38.59 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5083, allocations: 0 / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005698/0.5088, allocations: 360.3 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5089, allocations: 85.11 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.509, allocations: 120.8 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5091, allocations: 29.7 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.5091, allocations: 84.14 kB / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.5092, allocations: 19.8 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5092, allocations: 0 / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5093, allocations: 326.8 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.5094, allocations: 63.88 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.5095, allocations: 55.95 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.5096, allocations: 89.66 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5096, allocations: 384 / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003124/0.5099, allocations: 211.5 kB / 1.046 GB, free: 9.941 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.51, allocations: 48.34 kB / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.51, allocations: 4 kB / 1.046 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.51, allocations: 3.938 kB / 1.046 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-06/0.5101, allocations: 0 / 1.046 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.5101, allocations: 4.062 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.5103, allocations: 23.89 kB / 1.046 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.5103, allocations: 15.98 kB / 1.046 GB, free: 9.84 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.0001796/0.5105, allocations: 169.5 kB / 1.046 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.5106, allocations: 15.84 kB / 1.046 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.5106, allocations: 8.375 kB / 1.046 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5106, allocations: 0 / 1.046 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5106, allocations: 0 / 1.046 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5106, allocations: 4 kB / 1.046 GB, free: 9.637 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.5108, allocations: 177.5 kB / 1.046 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5108, allocations: 0 / 1.046 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.5108, allocations: 0 / 1.046 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.5108, allocations: 0 / 1.046 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.5108, allocations: 11.98 kB / 1.046 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.5108, allocations: 4 kB / 1.046 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5108, allocations: 0 / 1.046 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.5112, allocations: 282.5 kB / 1.047 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.5113, allocations: 92.94 kB / 1.047 GB, free: 8.988 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.5113, allocations: 11.98 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.5115, allocations: 8 kB / 1.047 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.5116, allocations: 7.984 kB / 1.047 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.5116, allocations: 19.98 kB / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.475e-05/0.5117, allocations: 95.27 kB / 1.047 GB, free: 8.848 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5117, allocations: 0 / 1.047 GB, free: 8.848 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000467/0.5122, allocations: 103.8 kB / 1.047 GB, free: 8.746 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.001602/0.5138, allocations: 1.12 MB / 1.048 GB, free: 7.688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.5142, allocations: 291.2 kB / 1.048 GB, free: 7.391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5142, allocations: 0 / 1.048 GB, free: 7.391 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.5144, allocations: 215.3 kB / 1.049 GB, free: 7.168 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.5146, allocations: 4 kB / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5161, allocations: 0.6302 MB / 1.049 GB, free: 6.492 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5164, allocations: 0.6888 MB / 1.05 GB, free: 5.777 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.594e-05/0.5165, allocations: 55.86 kB / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.5165, allocations: 11.44 kB / 1.05 GB, free: 5.711 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.5165, allocations: 0 / 1.05 GB, free: 5.711 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.5352, allocations: 4.713 MB / 1.055 GB, free: 1.164 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.5355, allocations: 277.7 kB / 1.055 GB, free: 0.8047 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 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_maint_7_0_x_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: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 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_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_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1