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.766/1.766, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001113/0.001113, allocations: 177 kB / 377.1 MB, free: 1.555 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.676/1.676, allocations: 205.4 MB / 0.6366 GB, free: 8.66 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.000881/0.0008808, allocations: 93.36 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2958, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8859/1.182, allocations: 140.8 MB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.182, allocations: 96.88 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01098/1.193, allocations: 4.792 MB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.146e-06/1.193, allocations: 0.9688 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.193, allocations: 4.5 kB / 1.131 GB, free: 30.7 MB / 0.7292 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.0003484/1.193, allocations: 373.5 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.194, allocations: 16.02 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/1.194, allocations: 34.56 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/1.194, allocations: 2.844 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.194, allocations: 166.5 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/1.194, allocations: 4.375 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/1.194, allocations: 0 / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.194, allocations: 45.83 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.194, allocations: 3.516 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.194, allocations: 0.75 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/1.194, allocations: 4 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/1.194, allocations: 7.938 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/1.194, allocations: 159.2 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/1.194, allocations: 26.98 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/1.194, allocations: 10.47 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.194, allocations: 31.59 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.194, allocations: 0 / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/1.194, allocations: 64.67 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/1.194, allocations: 51.41 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/1.195, allocations: 89 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/1.195, allocations: 29.95 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/1.195, allocations: 84.14 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.195, allocations: 4 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.195, allocations: 0 / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/1.195, allocations: 318.3 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/1.195, allocations: 7.938 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/1.195, allocations: 9.031 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/1.195, allocations: 11.61 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.195, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.552e-05/1.195, allocations: 57.17 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.195, allocations: 4.625 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.195, allocations: 8.312 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.195, allocations: 0.625 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/1.195, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.195, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/1.195, allocations: 8 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.195, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 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 6.274e-05/1.195, allocations: 114.5 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/1.195, allocations: 4.531 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/1.195, allocations: 66.3 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.195, allocations: 3.562 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.195, allocations: 3.938 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.195, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/1.195, allocations: 165.6 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.195, allocations: 0 / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/1.195, allocations: 0.9375 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/1.195, allocations: 0 / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/1.195, allocations: 0.5625 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/1.195, allocations: 8.031 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.195, allocations: 0.5469 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.915e-05/1.195, allocations: 64.56 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/1.196, allocations: 89.94 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.196, allocations: 0 / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/1.196, allocations: 4 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/1.196, allocations: 0 / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/1.196, allocations: 4.781 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.643e-05/1.196, allocations: 84.02 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/1.196, allocations: 0 / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000287/1.196, allocations: 75.39 kB / 1.133 GB, free: 28.2 MB / 0.7292 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.0008572/1.197, allocations: 0.8212 MB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001133/1.197, allocations: 68.61 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.197, allocations: 0 / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/1.197, allocations: 37.64 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/1.197, allocations: 5.203 kB / 1.134 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/1.198, allocations: 307.9 kB / 1.134 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/1.198, allocations: 0.6731 MB / 1.135 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.268e-05/1.198, allocations: 12.34 kB / 1.135 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/1.198, allocations: 12.38 kB / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.198, allocations: 0 / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/1.214, allocations: 2.386 MB / 1.137 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.214, allocations: 289 kB / 1.137 GB, free: 24.68 MB / 0.7292 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.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: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.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: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_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