Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01678/0.01678, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001953/0.001953, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.202/2.202, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.409/2.409, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004933, allocations: 16 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7297, allocations: 98.72 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2644/0.9941, allocations: 127.4 MB / 0.8078 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/0.9946, allocations: 91.94 kB / 0.8079 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05593/1.051, allocations: 10.9 MB / 0.8186 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.051, allocations: 0 / 0.8186 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.776e-05/1.051, allocations: 4 kB / 0.8186 GB, free: 3.875 MB / 0.6355 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.0006781/1.051, allocations: 436.9 kB / 0.819 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.051, allocations: 8.031 kB / 0.819 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/1.051, allocations: 38.56 kB / 0.819 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/1.052, allocations: 15.86 kB / 0.8191 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/1.052, allocations: 179 kB / 0.8192 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.052, allocations: 7.938 kB / 0.8192 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/1.052, allocations: 4 kB / 0.8192 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/1.052, allocations: 125.6 kB / 0.8194 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.052, allocations: 0 / 0.8194 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/1.052, allocations: 4 kB / 0.8194 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.052, allocations: 0 / 0.8194 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/1.052, allocations: 59.91 kB / 0.8194 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/1.053, allocations: 165.7 kB / 0.8196 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/1.053, allocations: 118.5 kB / 0.8197 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/1.053, allocations: 0 / 0.8197 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.053, allocations: 30.56 kB / 0.8197 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/1.053, allocations: 7.969 kB / 0.8197 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0009191/1.054, allocations: 352.3 kB / 0.8201 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/1.054, allocations: 97.12 kB / 0.8202 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/1.054, allocations: 120.8 kB / 0.8203 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/1.054, allocations: 29.7 kB / 0.8203 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/1.054, allocations: 87.47 kB / 0.8204 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/1.054, allocations: 15.8 kB / 0.8204 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/1.054, allocations: 4 kB / 0.8204 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.055, allocations: 322.8 kB / 0.8207 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/1.055, allocations: 59.94 kB / 0.8208 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.055, allocations: 59.95 kB / 0.8208 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/1.055, allocations: 89.69 kB / 0.8209 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.055, allocations: 0 / 0.8209 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005668/1.056, allocations: 211.3 kB / 0.8211 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/1.056, allocations: 49.62 kB / 0.8212 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.056, allocations: 3.984 kB / 0.8212 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.056, allocations: 0 / 0.8212 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/1.056, allocations: 4 kB / 0.8212 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.056, allocations: 0 / 0.8212 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/1.056, allocations: 23.83 kB / 0.8212 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/1.056, allocations: 16.02 kB / 0.8212 GB, free: 0.9141 MB / 0.6355 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.0002102/1.057, allocations: 171.5 kB / 0.8214 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/1.057, allocations: 11.91 kB / 0.8214 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/1.057, allocations: 8.375 kB / 0.8214 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.057, allocations: 3.984 kB / 0.8214 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.057, allocations: 0 / 0.8214 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.057, allocations: 0 / 0.8214 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/1.057, allocations: 177.5 kB / 0.8216 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.057, allocations: 256 / 0.8216 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/1.057, allocations: 8 kB / 0.8216 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.057, allocations: 0 / 0.8216 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/1.057, allocations: 12 kB / 0.8216 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.057, allocations: 4.359 kB / 0.8216 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.057, allocations: 0 / 0.8216 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/1.058, allocations: 270.6 kB / 0.8218 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/1.058, allocations: 93 kB / 0.8219 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/1.058, allocations: 11.92 kB / 0.8219 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/1.058, allocations: 20.02 kB / 0.822 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.058, allocations: 11.94 kB / 0.822 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/1.058, allocations: 15.98 kB / 0.822 GB, free: 0 / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000115/1.058, allocations: 91.27 kB / 0.8221 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.058, allocations: 3.938 kB / 0.8221 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006328/1.059, allocations: 108 kB / 0.8222 GB, free: 15.8 MB / 0.6511 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.002247/1.061, allocations: 1.14 MB / 0.8233 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007122/1.062, allocations: 291.5 kB / 0.8236 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.062, allocations: 0 / 0.8236 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/1.062, allocations: 207.3 kB / 0.8238 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.063, allocations: 19.34 kB / 0.8238 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/1.065, allocations: 0.5942 MB / 0.8244 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/1.065, allocations: 0.6887 MB / 0.825 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001224/1.065, allocations: 55.92 kB / 0.8251 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/1.066, allocations: 7.438 kB / 0.8251 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/1.066, allocations: 0 / 0.8251 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/1.098, allocations: 4.666 MB / 0.8297 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/1.098, allocations: 268.9 kB / 0.8299 GB, free: 7.879 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_6_0_0_Buildings_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_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_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/python27Wrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1