Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.193/2.193, allocations: 251 MB / 265.9 MB, free: 11.69 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.001606/0.001606, allocations: 178.8 kB / 325.5 MB, free: 2.906 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.398/2.398, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001171/0.001171, allocations: 93.31 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 9.375 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2845/0.5162, allocations: 134.5 MB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005457/0.5168, allocations: 91.94 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07993/0.5968, allocations: 10.91 MB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.327e-06/0.5968, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.5969, allocations: 4 kB / 1.041 GB, free: 15.77 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.0008689/0.5978, allocations: 440.8 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.5978, allocations: 8.031 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.955e-05/0.598, allocations: 38.56 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.5981, allocations: 15.86 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.5984, allocations: 171.1 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5984, allocations: 4 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.5985, allocations: 7.984 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.599, allocations: 125.5 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5991, allocations: 0 / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.5991, allocations: 4 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5991, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.5994, allocations: 67.89 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.5998, allocations: 157.7 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.6002, allocations: 114.6 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.6002, allocations: 3.984 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.6003, allocations: 34.5 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.556e-06/0.6003, allocations: 4.031 kB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001351/0.6016, allocations: 352.3 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.6018, allocations: 97.12 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.6021, allocations: 116.8 kB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.6022, allocations: 29.7 kB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.6022, allocations: 88.12 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.6023, allocations: 19.75 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.6024, allocations: 4 kB / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.6026, allocations: 318.8 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.6029, allocations: 63.88 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.6032, allocations: 67.94 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.6035, allocations: 89.91 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6035, allocations: 0 / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008844/0.6044, allocations: 211.7 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.834e-05/0.6045, allocations: 47.56 kB / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6046, allocations: 0 / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6046, allocations: 0 / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.6046, allocations: 7.938 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6047, allocations: 0 / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.6053, allocations: 19.89 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.6054, allocations: 16.05 kB / 1.044 GB, free: 12.81 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.0003655/0.6058, allocations: 167.4 kB / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.6059, allocations: 11.91 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.6059, allocations: 12.36 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.606, allocations: 0 / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.606, allocations: 0 / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.606, allocations: 0 / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.6063, allocations: 177.6 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6063, allocations: 3.938 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.6063, allocations: 4 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6064, allocations: 0 / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.6064, allocations: 11.98 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6065, allocations: 0 / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6065, allocations: 0 / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6076, allocations: 278.8 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6077, allocations: 93 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.6078, allocations: 4 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.6084, allocations: 20.02 kB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.6085, allocations: 8 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/0.6086, allocations: 15.98 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001348/0.6088, allocations: 91.27 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.12e-07/0.6088, allocations: 0 / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009953/0.6098, allocations: 119.8 kB / 1.044 GB, free: 11.71 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.003598/0.6134, allocations: 1.116 MB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.6147, allocations: 287.2 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.6147, allocations: 0 / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.6153, allocations: 219.3 kB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.6156, allocations: 4 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.619, allocations: 0.6131 MB / 1.047 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.6195, allocations: 0.6809 MB / 1.047 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.6197, allocations: 59.8 kB / 1.047 GB, free: 8.703 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.6197, allocations: 7.438 kB / 1.047 GB, free: 8.695 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/0.6198, allocations: 0 / 1.047 GB, free: 8.695 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.658, allocations: 4.667 MB / 1.052 GB, free: 4.199 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006811/0.6589, allocations: 249.1 kB / 1.052 GB, free: 3.871 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_7_0_0_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: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/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.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_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_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1