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.483/1.483, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001348/0.001348, allocations: 181 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000951/0.000951, allocations: 86.06 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003543, allocations: 10.41 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.4087, allocations: 133.2 MB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.409, allocations: 87.94 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.421, allocations: 4.639 MB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/0.421, allocations: 0 / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.421, allocations: 0 / 1.035 GB, free: 5.691 MB / 0.6823 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.00044/0.4215, allocations: 387.2 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4215, allocations: 16.02 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.4216, allocations: 34.56 kB / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.4216, allocations: 11.89 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4217, allocations: 159.1 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4218, allocations: 4 kB / 1.035 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.4218, allocations: 0 / 1.035 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4219, allocations: 37.69 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4219, allocations: 0 / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4219, allocations: 4 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.422, allocations: 7.922 kB / 1.036 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.422, allocations: 15.94 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.4222, allocations: 153.6 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.4222, allocations: 34.59 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4223, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.4223, allocations: 34.62 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4223, allocations: 4 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001642/0.4225, allocations: 57.62 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.4225, allocations: 51.41 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.4226, allocations: 92.98 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4226, allocations: 25.7 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.4227, allocations: 84.14 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.4227, allocations: 3.906 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.4227, allocations: 4.25 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4228, allocations: 318.8 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.4228, allocations: 4 kB / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.4229, allocations: 7.984 kB / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.4229, allocations: 12 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4229, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.633e-05/0.423, allocations: 49.62 kB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.423, allocations: 4 kB / 1.036 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.423, allocations: 7.984 kB / 1.036 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4231, allocations: 4.094 kB / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.4231, allocations: 0 / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4231, allocations: 0 / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.4231, allocations: 0 / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.4231, allocations: 4 kB / 1.036 GB, free: 3.871 MB / 0.6823 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.9e-05/0.4232, allocations: 117.8 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.4232, allocations: 3.906 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.4234, allocations: 65.66 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4234, allocations: 4.031 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4234, allocations: 3.938 kB / 1.037 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4234, allocations: 0 / 1.037 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.4235, allocations: 157.6 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4235, allocations: 7.984 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.4235, allocations: 3.938 kB / 1.037 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4236, allocations: 3.938 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.4236, allocations: 0 / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4236, allocations: 0 / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4236, allocations: 4 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.4237, allocations: 65.08 kB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.4237, allocations: 85.11 kB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4237, allocations: 0 / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.4238, allocations: 4 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.4238, allocations: 11.97 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.4238, allocations: 0 / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.4239, allocations: 79.28 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4239, allocations: 32 / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003169/0.4242, allocations: 83.84 kB / 1.037 GB, free: 3.082 MB / 0.6823 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.0008264/0.425, allocations: 0.8165 MB / 1.038 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.4251, allocations: 67.39 kB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4252, allocations: 0 / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.4252, allocations: 33.64 kB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.4253, allocations: 6.031 kB / 1.038 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.4262, allocations: 296.4 kB / 1.038 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4265, allocations: 0.6811 MB / 1.039 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.473e-05/0.4266, allocations: 11.84 kB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.4266, allocations: 11.44 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.4266, allocations: 0 / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.4414, allocations: 2.365 MB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003832/0.4418, allocations: 293.4 kB / 1.042 GB, free: 14.59 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 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: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 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: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_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