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.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_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.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001357/0.001357, allocations: 188.8 kB / 326.5 MB, free: 2.242 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.039/2.039, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008957/0.0008957, allocations: 84.5 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 11.78 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.4266, allocations: 133.5 MB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4269, allocations: 99.92 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01268/0.4396, allocations: 4.784 MB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4397, allocations: 0 / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4397, allocations: 4 kB / 1.035 GB, free: 5.211 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.0004599/0.4401, allocations: 391.1 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.4402, allocations: 12.02 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.4403, allocations: 30.56 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.4403, allocations: 11.95 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4405, allocations: 159.1 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.4405, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.4405, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4407, allocations: 45.62 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4407, allocations: 4 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4407, allocations: 3.984 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4407, allocations: 0 / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.4408, allocations: 8 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.441, allocations: 157.6 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.4411, allocations: 30.59 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4411, allocations: 4.062 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4411, allocations: 38.5 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.4411, allocations: 0 / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.4413, allocations: 57.69 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.4414, allocations: 51.41 kB / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.4415, allocations: 88.98 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4415, allocations: 29.7 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.4415, allocations: 84.14 kB / 1.036 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.4416, allocations: 4.156 kB / 1.036 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4416, allocations: 4 kB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4417, allocations: 314.8 kB / 1.037 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.4417, allocations: 8 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.4418, allocations: 11.92 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.4418, allocations: 8 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4418, allocations: 0 / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.618e-05/0.4419, allocations: 49.69 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4419, allocations: 4 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.4419, allocations: 12.08 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.442, allocations: 3.938 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.442, allocations: 4 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.442, allocations: 0 / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.442, allocations: 3.938 kB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.442, allocations: 4 kB / 1.037 GB, free: 3.387 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 0.0001/0.4421, allocations: 113.8 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.4422, allocations: 11.89 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.4423, allocations: 73.53 kB / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4424, allocations: 4 kB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4424, allocations: 0 / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4424, allocations: 0 / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4425, allocations: 161.6 kB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4425, allocations: 3.984 kB / 1.037 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.4425, allocations: 4 kB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4426, allocations: 0 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4426, allocations: 0 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4426, allocations: 0 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4426, allocations: 32 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.4427, allocations: 73.02 kB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.4427, allocations: 81.11 kB / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.4428, allocations: 4 kB / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.4428, allocations: 3.984 kB / 1.037 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.4428, allocations: 0 / 1.037 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4429, allocations: 4 kB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.4429, allocations: 83.31 kB / 1.037 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4429, allocations: 0 / 1.037 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003356/0.4433, allocations: 67.92 kB / 1.038 GB, free: 2.609 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.001004/0.4443, allocations: 0.8216 MB / 1.038 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4444, allocations: 75.33 kB / 1.038 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4444, allocations: 0 / 1.038 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.4444, allocations: 29.7 kB / 1.038 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.4446, allocations: 4 kB / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.4454, allocations: 312.5 kB / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4457, allocations: 0.6809 MB / 1.039 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.585e-05/0.4458, allocations: 15.83 kB / 1.039 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.4458, allocations: 7.438 kB / 1.039 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of SimCode: time 4.438e-06/0.4458, allocations: 0 / 1.039 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.4607, allocations: 2.38 MB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.461, allocations: 312.5 kB / 1.042 GB, free: 14.08 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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1