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.729/1.729, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001087/0.001087, allocations: 187.1 kB / 371.6 MB, free: 3.375 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.743/1.743, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009825/0.0009831, allocations: 89.98 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.075e-05/6.103e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3327, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.509, allocations: 141.4 MB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/1.509, allocations: 90.14 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02584/1.535, allocations: 10.29 MB / 1.128 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.934e-06/1.535, allocations: 0 / 1.128 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.535, allocations: 0 / 1.128 GB, free: 37.45 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.0005031/1.536, allocations: 427.4 kB / 1.128 GB, free: 37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.536, allocations: 8.031 kB / 1.128 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/1.536, allocations: 38.06 kB / 1.129 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/1.536, allocations: 8.062 kB / 1.129 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.536, allocations: 173.7 kB / 1.129 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.536, allocations: 11.98 kB / 1.129 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/1.536, allocations: 4 kB / 1.129 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/1.536, allocations: 123.1 kB / 1.129 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.536, allocations: 3.938 kB / 1.129 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/1.536, allocations: 7.469 kB / 1.129 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.536, allocations: 0 / 1.129 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/1.536, allocations: 58.7 kB / 1.129 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/1.537, allocations: 164.5 kB / 1.129 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/1.537, allocations: 114 kB / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.537, allocations: 101.3 kB / 1.129 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/1.537, allocations: 0 / 1.129 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.537, allocations: 34.56 kB / 1.129 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/1.537, allocations: 0 / 1.129 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003894/1.537, allocations: 211 kB / 1.129 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.537, allocations: 91.62 kB / 1.13 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/1.537, allocations: 119 kB / 1.13 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.537, allocations: 29.73 kB / 1.13 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/1.537, allocations: 88.17 kB / 1.13 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/1.538, allocations: 18.45 kB / 1.13 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/1.538, allocations: 4 kB / 1.13 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/1.538, allocations: 314.8 kB / 1.13 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/1.538, allocations: 60.2 kB / 1.13 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/1.538, allocations: 65.55 kB / 1.13 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/1.538, allocations: 85.88 kB / 1.13 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.538, allocations: 1.125 kB / 1.13 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002775/1.538, allocations: 218 kB / 1.131 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/1.538, allocations: 44.48 kB / 1.131 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.538, allocations: 3.938 kB / 1.131 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.538, allocations: 0 / 1.131 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/1.538, allocations: 0 / 1.131 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.538, allocations: 0 / 1.131 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/1.539, allocations: 16.3 kB / 1.131 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/1.539, allocations: 15.56 kB / 1.131 GB, free: 34.99 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.0001073/1.539, allocations: 158.9 kB / 1.131 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/1.539, allocations: 11.91 kB / 1.131 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/1.539, allocations: 8 kB / 1.131 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.539, allocations: 1.875 kB / 1.131 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.539, allocations: 0 / 1.131 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/1.539, allocations: 4 kB / 1.131 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/1.539, allocations: 175.1 kB / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.539, allocations: 0 / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/1.539, allocations: 3.984 kB / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.539, allocations: 4 kB / 1.131 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.539, allocations: 14.78 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.539, allocations: 4 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.539, allocations: 0.6875 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/1.539, allocations: 267.3 kB / 1.131 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/1.539, allocations: 99.23 kB / 1.131 GB, free: 34.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/1.539, allocations: 8.5 kB / 1.131 GB, free: 34.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/1.54, allocations: 15.56 kB / 1.131 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/1.54, allocations: 4 kB / 1.131 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/1.54, allocations: 23.36 kB / 1.131 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.209e-05/1.54, allocations: 90.98 kB / 1.131 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.202e-06/1.54, allocations: 0 / 1.131 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003633/1.54, allocations: 99.92 kB / 1.132 GB, free: 34.05 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.001247/1.541, allocations: 1.037 MB / 1.133 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004161/1.542, allocations: 284.9 kB / 1.133 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.542, allocations: 0 / 1.133 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/1.542, allocations: 211.2 kB / 1.133 GB, free: 32.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/1.542, allocations: 9.047 kB / 1.133 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/1.543, allocations: 0.5298 MB / 1.134 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/1.544, allocations: 0.6878 MB / 1.134 GB, free: 31.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.463e-05/1.544, allocations: 48.45 kB / 1.134 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/1.544, allocations: 19 kB / 1.134 GB, free: 31.7 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.544, allocations: 0 / 1.134 GB, free: 31.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/1.565, allocations: 4.412 MB / 1.139 GB, free: 29.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.565, allocations: 226.8 kB / 1.139 GB, free: 28.97 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_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: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_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: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_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