Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.915/1.915, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001479/0.001479, allocations: 189.1 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000852/0.0008518, allocations: 93.16 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 14.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2263, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6328/0.8592, allocations: 139.5 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.8594, allocations: 88.91 kB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.8704, allocations: 4.635 MB / 1.12 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8705, allocations: 0 / 1.12 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8705, allocations: 0 / 1.12 GB, free: 31.92 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003694/0.8708, allocations: 382.7 kB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8709, allocations: 7.719 kB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.8709, allocations: 44.78 kB / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.871, allocations: 0 / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8711, allocations: 170.1 kB / 1.121 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8711, allocations: 0 / 1.121 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.8711, allocations: 3.969 kB / 1.121 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.8713, allocations: 46.53 kB / 1.121 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8713, allocations: 0 / 1.121 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.8713, allocations: 3.938 kB / 1.121 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8713, allocations: 0 / 1.121 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.8713, allocations: 7.75 kB / 1.121 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.8715, allocations: 160.8 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.8716, allocations: 29.22 kB / 1.121 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.8716, allocations: 3.875 kB / 1.121 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.8716, allocations: 41 kB / 1.121 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8716, allocations: 0 / 1.121 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.8718, allocations: 51.78 kB / 1.121 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.8719, allocations: 61.38 kB / 1.121 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/0.8719, allocations: 89 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.8719, allocations: 25.7 kB / 1.121 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.872, allocations: 83.98 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.872, allocations: 0 / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.872, allocations: 3.25 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8721, allocations: 317.7 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.8722, allocations: 3.844 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.8722, allocations: 10.3 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.8722, allocations: 14.47 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.8722, allocations: 0 / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.478e-05/0.8723, allocations: 53.53 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8723, allocations: 6.984 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.8723, allocations: 3.906 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.8724, allocations: 0 / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.8724, allocations: 0 / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.8724, allocations: 0 / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.8724, allocations: 3 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.8724, allocations: 7.781 kB / 1.122 GB, free: 30.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.971e-05/0.8725, allocations: 116.8 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.8725, allocations: 3.938 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.8727, allocations: 72.33 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8727, allocations: 0 / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8727, allocations: 0 / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8727, allocations: 0 / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.968e-05/0.8728, allocations: 162.7 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.8728, allocations: 4.031 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-06/0.8728, allocations: 4 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.8728, allocations: 0 / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.8729, allocations: 0 / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8729, allocations: 3.875 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8729, allocations: 3.984 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.137e-05/0.8729, allocations: 66.22 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.873, allocations: 88.91 kB / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.873, allocations: 7.969 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.8731, allocations: 3.812 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.8731, allocations: 2.625 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.8731, allocations: 3.906 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.8731, allocations: 82.69 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8732, allocations: 0 / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003261/0.8735, allocations: 80.56 kB / 1.123 GB, free: 29.67 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: 0 () * Number of discrete states: 0 () * 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: 0 * Record equations: 1 * 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.0008438/0.8743, allocations: 0.811 MB / 1.123 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.8745, allocations: 73.91 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8745, allocations: 0 / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.8745, allocations: 33.67 kB / 1.123 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.8746, allocations: 10.8 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.8754, allocations: 294.5 kB / 1.124 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.8757, allocations: 0.676 MB / 1.124 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.862e-05/0.8757, allocations: 7.797 kB / 1.124 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.8758, allocations: 14.5 kB / 1.124 GB, free: 28.04 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.8758, allocations: 8 kB / 1.124 GB, free: 28.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.8908, allocations: 2.36 MB / 1.127 GB, free: 27.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.891, allocations: 282 kB / 1.127 GB, free: 27.42 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_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 -falign-functions -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 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_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_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1