Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.543/2.543, allocations: 248.5 MB / 261.1 MB, free: 6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002333/0.002333, allocations: 190.4 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001321/0.001321, allocations: 90.42 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.229e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.069, allocations: 134.8 MB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/1.069, allocations: 93.98 kB / 1.022 GB, free: 376 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05273/1.122, allocations: 11.4 MB / 1.034 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.834e-06/1.122, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.667e-06/1.122, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6511 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.0006285/1.123, allocations: 431.9 kB / 1.034 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.123, allocations: 8.031 kB / 1.034 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/1.123, allocations: 37.56 kB / 1.034 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/1.123, allocations: 15.86 kB / 1.034 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/1.123, allocations: 174.8 kB / 1.034 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.123, allocations: 4 kB / 1.034 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/1.123, allocations: 12 kB / 1.034 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/1.124, allocations: 119.4 kB / 1.034 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.124, allocations: 0 / 1.034 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/1.124, allocations: 3.984 kB / 1.034 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.124, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/1.124, allocations: 65.67 kB / 1.034 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/1.124, allocations: 161.3 kB / 1.035 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/1.124, allocations: 114.5 kB / 1.035 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.125, allocations: 100.7 kB / 1.035 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/1.125, allocations: 3.984 kB / 1.035 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.125, allocations: 34.56 kB / 1.035 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/1.125, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0005969/1.125, allocations: 215.1 kB / 1.035 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/1.125, allocations: 92.22 kB / 1.035 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.126, allocations: 114.1 kB / 1.035 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1.126, allocations: 34.11 kB / 1.035 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/1.126, allocations: 83.45 kB / 1.035 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/1.126, allocations: 18.88 kB / 1.035 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/1.126, allocations: 4 kB / 1.035 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.126, allocations: 326.5 kB / 1.036 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/1.126, allocations: 58.83 kB / 1.036 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/1.126, allocations: 62.58 kB / 1.036 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/1.126, allocations: 85.22 kB / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.127, allocations: 3.938 kB / 1.036 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000522/1.127, allocations: 213.9 kB / 1.036 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/1.127, allocations: 48.5 kB / 1.036 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.127, allocations: 64 / 1.036 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.127, allocations: 4 kB / 1.036 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/1.127, allocations: 0 / 1.036 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.127, allocations: 0 / 1.036 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/1.128, allocations: 19.89 kB / 1.036 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/1.128, allocations: 15.98 kB / 1.036 GB, free: 4.23 MB / 0.6511 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.000171/1.128, allocations: 154 kB / 1.036 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/1.128, allocations: 15.94 kB / 1.036 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/1.128, allocations: 4.625 kB / 1.036 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/1.128, allocations: 0 / 1.036 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.128, allocations: 0 / 1.036 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.128, allocations: 3.984 kB / 1.036 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/1.128, allocations: 172.4 kB / 1.036 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.128, allocations: 0 / 1.036 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-06/1.128, allocations: 3.984 kB / 1.036 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.128, allocations: 0 / 1.036 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/1.128, allocations: 11.94 kB / 1.037 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.128, allocations: 8 kB / 1.037 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.128, allocations: 0 / 1.037 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/1.129, allocations: 275.5 kB / 1.037 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/1.129, allocations: 92.75 kB / 1.037 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/1.129, allocations: 4 kB / 1.037 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/1.129, allocations: 15.98 kB / 1.037 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/1.129, allocations: 7.984 kB / 1.037 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/1.13, allocations: 27.45 kB / 1.037 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.476e-05/1.13, allocations: 94.83 kB / 1.037 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.13, allocations: 4 kB / 1.037 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005777/1.13, allocations: 107.3 kB / 1.037 GB, free: 3.199 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]) * 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.001891/1.132, allocations: 1.102 MB / 1.038 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005852/1.133, allocations: 288.2 kB / 1.038 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.133, allocations: 0 / 1.038 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/1.133, allocations: 214.9 kB / 1.039 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/1.133, allocations: 8 kB / 1.039 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/1.135, allocations: 0.5698 MB / 1.039 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/1.136, allocations: 0.6848 MB / 1.04 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001288/1.136, allocations: 51.92 kB / 1.04 GB, free: 476 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/1.136, allocations: 10.19 kB / 1.04 GB, free: 472 kB / 0.6511 GB Notification: Performance of SimCode: time 1.143e-06/1.136, allocations: 3.938 kB / 1.04 GB, free: 468 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/1.172, allocations: 4.734 MB / 1.045 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/1.173, allocations: 241.9 kB / 1.045 GB, free: 11.56 MB / 0.6667 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/pythonWrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1