Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.00103/0.00103, allocations: 182.8 kB / 371.6 MB, free: 3.418 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.513/1.513, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 90.36 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.607e-05, allocations: 4 kB / 0.8664 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3138, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9779/1.292, allocations: 140.7 MB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.292, allocations: 89.03 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01118/1.303, allocations: 4.59 MB / 1.122 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/1.303, allocations: 3.219 kB / 1.122 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.303, allocations: 0 / 1.122 GB, free: 40.94 MB / 0.7448 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.0003029/1.304, allocations: 372.9 kB / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.304, allocations: 12.69 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/1.304, allocations: 34.06 kB / 1.122 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/1.304, allocations: 2.656 kB / 1.122 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.304, allocations: 167.7 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.304, allocations: 6.969 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/1.304, allocations: 1.312 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/1.304, allocations: 40.78 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/1.304, allocations: 1.5 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.304, allocations: 3.938 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.304, allocations: 4 kB / 1.123 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/1.304, allocations: 7.469 kB / 1.123 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/1.304, allocations: 157.3 kB / 1.123 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/1.305, allocations: 30.58 kB / 1.123 GB, free: 40 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/1.305, allocations: 15.8 kB / 1.123 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/1.305, allocations: 4 kB / 1.123 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/1.305, allocations: 31.12 kB / 1.123 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.305, allocations: 0.7969 kB / 1.123 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001316/1.305, allocations: 48.97 kB / 1.123 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/1.305, allocations: 59.44 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/1.305, allocations: 91.83 kB / 1.123 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/1.305, allocations: 25.7 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/1.305, allocations: 84.14 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/1.305, allocations: 3.125 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.305, allocations: 0.5625 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/1.305, allocations: 317.7 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/1.305, allocations: 4.125 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/1.305, allocations: 15.38 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/1.305, allocations: 4 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.305, allocations: 0 / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.366e-05/1.305, allocations: 68.81 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.305, allocations: 4 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.305, allocations: 4 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.305, allocations: 0 / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/1.305, allocations: 0.6875 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/1.305, allocations: 0 / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/1.305, allocations: 4.094 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/1.305, allocations: 7.469 kB / 1.123 GB, free: 39.21 MB / 0.7448 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.214e-05/1.305, allocations: 108 kB / 1.124 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/1.305, allocations: 0 / 1.124 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/1.306, allocations: 64.97 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.306, allocations: 4.547 kB / 1.124 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.306, allocations: 4.562 kB / 1.124 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.306, allocations: 0 / 1.124 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.612e-05/1.306, allocations: 165.4 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.306, allocations: 0 / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-06/1.306, allocations: 4.609 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/1.306, allocations: 0 / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/1.306, allocations: 4 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.306, allocations: 0 / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.306, allocations: 2.062 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.599e-05/1.306, allocations: 68.41 kB / 1.124 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/1.306, allocations: 85.05 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.306, allocations: 3.281 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/1.306, allocations: 4.75 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/1.306, allocations: 1.031 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/1.306, allocations: 4 kB / 1.124 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.883e-05/1.306, allocations: 82.59 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.306, allocations: 0 / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002653/1.306, allocations: 82.28 kB / 1.124 GB, free: 38.48 MB / 0.7448 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.0008737/1.307, allocations: 0.8017 MB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001049/1.307, allocations: 82.22 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.307, allocations: 0 / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/1.307, allocations: 29.7 kB / 1.125 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/1.307, allocations: 8.031 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/1.308, allocations: 267.1 kB / 1.125 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/1.308, allocations: 0.6803 MB / 1.126 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.269e-05/1.308, allocations: 6.188 kB / 1.126 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/1.308, allocations: 14.89 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.308, allocations: 0 / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/1.323, allocations: 2.395 MB / 1.128 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.324, allocations: 262 kB / 1.129 GB, free: 35.04 MB / 0.7448 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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_8_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: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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_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_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/pythonWrapper.c:22:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1