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.521/1.521, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.00106/0.00106, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0008973/0.0008973, allocations: 88.91 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.28e-05/6.34e-05, allocations: 4 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2401, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7522/0.9924, allocations: 135 MB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.9927, allocations: 97.83 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0318/1.025, allocations: 11.39 MB / 1.035 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/1.025, allocations: 0 / 1.035 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.025, allocations: 0 / 1.035 GB, free: 6.266 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.0005918/1.025, allocations: 435.8 kB / 1.035 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/1.025, allocations: 8.031 kB / 1.035 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.871e-05/1.025, allocations: 34.56 kB / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/1.025, allocations: 15.86 kB / 1.035 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/1.026, allocations: 174.8 kB / 1.036 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.026, allocations: 7.938 kB / 1.036 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/1.026, allocations: 6.938 kB / 1.036 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/1.026, allocations: 121.2 kB / 1.036 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.026, allocations: 4 kB / 1.036 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.026, allocations: 4 kB / 1.036 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.026, allocations: 0 / 1.036 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/1.026, allocations: 62.02 kB / 1.036 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/1.026, allocations: 164.9 kB / 1.036 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.026, allocations: 113.2 kB / 1.036 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/1.027, allocations: 100.8 kB / 1.036 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/1.027, allocations: 0 / 1.036 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/1.027, allocations: 42.06 kB / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/1.027, allocations: 0 / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003981/1.027, allocations: 213.9 kB / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.027, allocations: 85.11 kB / 1.036 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.027, allocations: 120.3 kB / 1.037 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/1.027, allocations: 25.7 kB / 1.037 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/1.027, allocations: 87.7 kB / 1.037 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/1.027, allocations: 19.38 kB / 1.037 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/1.027, allocations: 4 kB / 1.037 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.027, allocations: 326.8 kB / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/1.028, allocations: 62.7 kB / 1.037 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/1.028, allocations: 55.47 kB / 1.037 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/1.028, allocations: 89.27 kB / 1.037 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.028, allocations: 0 / 1.037 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003335/1.028, allocations: 208.4 kB / 1.037 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/1.028, allocations: 41.69 kB / 1.037 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.028, allocations: 7.938 kB / 1.037 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.028, allocations: 0 / 1.037 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/1.028, allocations: 4.438 kB / 1.037 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.028, allocations: 0.625 kB / 1.037 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/1.028, allocations: 23.77 kB / 1.038 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/1.028, allocations: 11.98 kB / 1.038 GB, free: 3.574 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.0001291/1.029, allocations: 157.6 kB / 1.038 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/1.029, allocations: 15.91 kB / 1.038 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/1.029, allocations: 4.625 kB / 1.038 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.029, allocations: 0 / 1.038 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/1.029, allocations: 7.938 kB / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.029, allocations: 0 / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/1.029, allocations: 173.5 kB / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.029, allocations: 0 / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/1.029, allocations: 0 / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.029, allocations: 0 / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/1.029, allocations: 15.86 kB / 1.038 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.029, allocations: 0 / 1.038 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.029, allocations: 4 kB / 1.038 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/1.029, allocations: 278.9 kB / 1.038 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/1.029, allocations: 92.5 kB / 1.038 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/1.029, allocations: 4 kB / 1.038 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/1.03, allocations: 15.98 kB / 1.038 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/1.03, allocations: 11.42 kB / 1.038 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/1.03, allocations: 19.97 kB / 1.038 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.523e-05/1.03, allocations: 90.66 kB / 1.038 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.583e-06/1.03, allocations: 3.938 kB / 1.038 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004127/1.03, allocations: 114.9 kB / 1.038 GB, free: 2.531 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.00137/1.032, allocations: 1.1 MB / 1.04 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004004/1.032, allocations: 286.7 kB / 1.04 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.032, allocations: 64 / 1.04 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.032, allocations: 213.9 kB / 1.04 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/1.032, allocations: 11.31 kB / 1.04 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.034, allocations: 0.5737 MB / 1.041 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/1.034, allocations: 0.6848 MB / 1.041 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.498e-05/1.034, allocations: 55.92 kB / 1.041 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/1.034, allocations: 11.42 kB / 1.041 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/1.034, allocations: 4 kB / 1.041 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/1.053, allocations: 4.746 MB / 1.046 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/1.053, allocations: 247.3 kB / 1.046 GB, free: 10.84 MB / 0.6667 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 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: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 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: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_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