Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.00119/0.00119, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009356/0.0009352, allocations: 94.91 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004155, allocations: 12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3108, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9128/1.224, allocations: 139.8 MB / 1.116 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.224, allocations: 92.59 kB / 1.116 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01199/1.236, allocations: 4.787 MB / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.807e-06/1.236, allocations: 0 / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.202e-05/1.236, allocations: 3.938 kB / 1.121 GB, free: 31.8 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.000416/1.237, allocations: 375.1 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.237, allocations: 11.52 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/1.237, allocations: 34.5 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/1.237, allocations: 3.875 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.237, allocations: 173.3 kB / 1.121 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.237, allocations: 0 / 1.121 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/1.237, allocations: 3.938 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.237, allocations: 44.58 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/1.237, allocations: 0 / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.237, allocations: 0 / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.237, allocations: 0 / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/1.237, allocations: 10.89 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/1.237, allocations: 161.3 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/1.237, allocations: 33.52 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/1.237, allocations: 3.938 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/1.237, allocations: 34.38 kB / 1.122 GB, free: 30.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/1.237, allocations: 0 / 1.122 GB, free: 30.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/1.238, allocations: 58.31 kB / 1.122 GB, free: 30.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.238, allocations: 51.41 kB / 1.122 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/1.238, allocations: 99.88 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/1.238, allocations: 25.7 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/1.238, allocations: 84.08 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/1.238, allocations: 3.812 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/1.238, allocations: 0 / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/1.238, allocations: 318.6 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/1.238, allocations: 6.875 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/1.238, allocations: 11.62 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/1.238, allocations: 15.16 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.238, allocations: 0 / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.494e-05/1.238, allocations: 55.39 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.238, allocations: 3.906 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.238, allocations: 7.125 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.238, allocations: 0 / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/1.238, allocations: 0 / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/1.238, allocations: 0 / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/1.238, allocations: 0 / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/1.238, allocations: 3.781 kB / 1.122 GB, free: 30.2 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 8.445e-05/1.238, allocations: 113.8 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/1.238, allocations: 7.062 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/1.239, allocations: 74.39 kB / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.239, allocations: 0 / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.239, allocations: 0 / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.239, allocations: 0 / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/1.239, allocations: 163.6 kB / 1.123 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.239, allocations: 0 / 1.123 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.239, allocations: 4.031 kB / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/1.239, allocations: 0 / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/1.239, allocations: 0 / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.239, allocations: 3.812 kB / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.239, allocations: 0 / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.12e-05/1.239, allocations: 67.14 kB / 1.123 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/1.239, allocations: 87.92 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/1.239, allocations: 0 / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/1.239, allocations: 7.75 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/1.239, allocations: 2.578 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/1.239, allocations: 7.812 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.747e-05/1.239, allocations: 83.08 kB / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.239, allocations: 3.938 kB / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002853/1.239, allocations: 72.39 kB / 1.123 GB, free: 29.55 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.0008469/1.24, allocations: 0.8142 MB / 1.124 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001074/1.24, allocations: 73.58 kB / 1.124 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.24, allocations: 0 / 1.124 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/1.24, allocations: 40.09 kB / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/1.24, allocations: 3.906 kB / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/1.241, allocations: 303.8 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/1.241, allocations: 0.6758 MB / 1.125 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.859e-05/1.241, allocations: 10.75 kB / 1.125 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/1.241, allocations: 7.438 kB / 1.125 GB, free: 27.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.241, allocations: 4.062 kB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/1.256, allocations: 2.382 MB / 1.127 GB, free: 27.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/1.256, allocations: 314.3 kB / 1.128 GB, free: 27.29 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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_maint_8_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 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_maint_8_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_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1