Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.797 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.001026/0.001026, allocations: 184.8 kB / 321.3 MB, free: 14.64 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.696/1.696, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008455/0.0008458, allocations: 86.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.835e-05/3.837e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2369, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7302/0.9671, allocations: 133.1 MB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.9674, allocations: 96.05 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.9795, allocations: 4.443 MB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.346e-06/0.9795, allocations: 4 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.9795, allocations: 0 / 1.026 GB, free: 14.05 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004399/0.98, allocations: 377.8 kB / 1.027 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.98, allocations: 8.031 kB / 1.027 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.9801, allocations: 30.56 kB / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.9801, allocations: 7.953 kB / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.9802, allocations: 159.1 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.9803, allocations: 3.984 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.9803, allocations: 0 / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.9804, allocations: 49.55 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.9804, allocations: 7.938 kB / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.9804, allocations: 0 / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9805, allocations: 0 / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.801e-05/0.9805, allocations: 4 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.9807, allocations: 165.5 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.9808, allocations: 30.55 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.9808, allocations: 16.66 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.9808, allocations: 8 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.9809, allocations: 34.5 kB / 1.027 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9809, allocations: 0 / 1.027 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.981, allocations: 49.62 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.9811, allocations: 51.41 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.9811, allocations: 92.69 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.9812, allocations: 25.7 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.9812, allocations: 84.3 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.9812, allocations: 7.891 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.9812, allocations: 0 / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9814, allocations: 321.6 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.9814, allocations: 4 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.9814, allocations: 4 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.9814, allocations: 11.98 kB / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9814, allocations: 0 / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.061e-05/0.9815, allocations: 56.94 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9815, allocations: 4 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.9816, allocations: 4 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9816, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.9816, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9816, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.9816, allocations: 7.984 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.9816, allocations: 0 / 1.028 GB, free: 12.26 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: 0 () * Number of discrete 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 6.218e-05/0.9817, allocations: 108.9 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.9817, allocations: 7.031 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.9819, allocations: 73.44 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.9819, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.9819, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9819, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.982, allocations: 157.4 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.982, allocations: 4 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.9821, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9821, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.9821, allocations: 4 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9821, allocations: 7.969 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9821, allocations: 0 / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.9822, allocations: 65.08 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.9822, allocations: 88.47 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.9823, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.9823, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.9823, allocations: 4 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.9823, allocations: 32 / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.9824, allocations: 87.27 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.793e-06/0.9824, allocations: 3.938 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000346/0.9828, allocations: 79.73 kB / 1.029 GB, free: 11.5 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: 0 () * Number of discrete 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.0008894/0.9837, allocations: 0.8093 MB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.9838, allocations: 71.33 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9838, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.9838, allocations: 37.69 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.984, allocations: 2.688 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.9848, allocations: 266.5 kB / 1.03 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.985, allocations: 0.6809 MB / 1.03 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.821e-05/0.9851, allocations: 7.984 kB / 1.03 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.9851, allocations: 7.438 kB / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/0.9851, allocations: 0 / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.9997, allocations: 2.377 MB / 1.033 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/1, allocations: 258 kB / 1.033 GB, free: 7.059 MB / 0.6511 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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_maint_7_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: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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_maint_7_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: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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1