Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.00166/0.001661, allocations: 184.1 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.001076/0.001077, allocations: 94.55 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 11.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7001/0.9837, allocations: 140.5 MB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.9841, allocations: 92.48 kB / 1.126 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.9954, allocations: 4.638 MB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9955, allocations: 0 / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.9955, allocations: 0 / 1.13 GB, free: 30.91 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.0003878/0.9959, allocations: 385.3 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.996, allocations: 8.594 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.996, allocations: 40 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.9961, allocations: 2.844 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.9962, allocations: 163.1 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.9962, allocations: 3.438 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.9962, allocations: 0 / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.9963, allocations: 51.5 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.9963, allocations: 0 / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.9964, allocations: 0 / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.9964, allocations: 0 / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.9964, allocations: 4 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.9966, allocations: 162.1 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.9966, allocations: 34.61 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.9967, allocations: 5.781 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.9967, allocations: 31.41 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9967, allocations: 4.062 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000154/0.9969, allocations: 60.88 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.9969, allocations: 51.41 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.788e-05/0.9969, allocations: 96.5 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.997, allocations: 29.7 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.549e-05/0.997, allocations: 80.14 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.997, allocations: 3.984 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.997, allocations: 0 / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.9971, allocations: 315.4 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.9971, allocations: 11.42 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.9971, allocations: 4 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.256e-05/0.9971, allocations: 15.47 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.9971, allocations: 4 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.367e-05/0.9972, allocations: 48.98 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9972, allocations: 4.656 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9973, allocations: 4 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9973, allocations: 0 / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.9973, allocations: 11.7 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.9973, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.9973, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.9973, allocations: 4.688 kB / 1.132 GB, free: 29.14 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 5.608e-05/0.9974, allocations: 118.7 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.9974, allocations: 4 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.9976, allocations: 68.36 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9976, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9976, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9976, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.9977, allocations: 156.8 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9977, allocations: 4.625 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.9977, allocations: 4.031 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.9977, allocations: 1.031 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.9977, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9977, allocations: 0.8125 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9977, allocations: 4.875 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.089e-05/0.9978, allocations: 63.7 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.9978, allocations: 92.97 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.9978, allocations: 0 / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.9979, allocations: 4.031 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.9979, allocations: 3.922 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.9979, allocations: 4 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.998, allocations: 79.98 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.998, allocations: 0.6562 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002844/0.9983, allocations: 74.72 kB / 1.132 GB, free: 28.41 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.0007648/0.999, allocations: 0.8213 MB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.9991, allocations: 70.64 kB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9991, allocations: 0 / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.9992, allocations: 33.77 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.9993, allocations: 12.3 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/1, allocations: 306.9 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/1, allocations: 0.6764 MB / 1.134 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.5e-05/1, allocations: 5.406 kB / 1.134 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/1, allocations: 7.438 kB / 1.134 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1, allocations: 4 kB / 1.134 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/1.017, allocations: 2.341 MB / 1.137 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.017, allocations: 287.6 kB / 1.137 GB, free: 24.88 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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_8_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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1