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.726/1.726, allocations: 289.7 MB / 302.3 MB, free: 2.18 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.001098/0.001098, allocations: 177.8 kB / 371.6 MB, free: 3.383 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.764/1.764, 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.001196/0.001196, allocations: 89.81 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.163e-05/5.178e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3565, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.501, allocations: 140.4 MB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.501, allocations: 89.2 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01239/1.514, allocations: 4.438 MB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.725e-06/1.514, allocations: 4 kB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.514, allocations: 0 / 1.121 GB, free: 41.23 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.0005344/1.515, allocations: 369 kB / 1.122 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 9.567e-05/1.515, allocations: 16.09 kB / 1.122 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/1.515, allocations: 34.5 kB / 1.122 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/1.515, allocations: 1.719 kB / 1.122 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/1.515, allocations: 168.4 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/1.515, allocations: 0 / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/1.515, allocations: 3.312 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.515, allocations: 45.02 kB / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.515, allocations: 4.938 kB / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/1.515, allocations: 0.625 kB / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.515, allocations: 0 / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/1.515, allocations: 4 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/1.516, allocations: 160.5 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.994e-05/1.516, allocations: 34.75 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/1.516, allocations: 16.92 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/1.516, allocations: 0 / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.516, allocations: 38.03 kB / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/1.516, allocations: 0 / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002206/1.516, allocations: 48.61 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.516, allocations: 55.34 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.516, allocations: 96.22 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/1.516, allocations: 25.7 kB / 1.123 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/1.516, allocations: 84.12 kB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/1.516, allocations: 3.125 kB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/1.516, allocations: 0.75 kB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.517, allocations: 325.3 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/1.517, allocations: 4 kB / 1.123 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/1.517, allocations: 4 kB / 1.123 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/1.517, allocations: 11.61 kB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.517, allocations: 4 kB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/1.517, allocations: 53.03 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.517, allocations: 4 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.517, allocations: 8.125 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.517, allocations: 0 / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-06/1.517, allocations: 0 / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.517, allocations: 0 / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/1.517, allocations: 4.875 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/1.517, allocations: 4 kB / 1.123 GB, free: 39.5 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 0.0001326/1.517, allocations: 112.9 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/1.517, allocations: 4.656 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/1.517, allocations: 68.8 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.517, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.517, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.517, allocations: 4.734 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/1.518, allocations: 153.1 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.518, allocations: 4.5 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/1.518, allocations: 0.6562 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.518, allocations: 4.031 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.518, allocations: 0.5 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.518, allocations: 0 / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.518, allocations: 0 / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/1.518, allocations: 71.94 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/1.518, allocations: 89.08 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/1.518, allocations: 1.594 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/1.518, allocations: 4.031 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/1.518, allocations: 7.562 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/1.518, allocations: 0 / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.678e-05/1.518, allocations: 83.83 kB / 1.124 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.518, allocations: 0 / 1.124 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000394/1.518, allocations: 74.95 kB / 1.124 GB, free: 38.78 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.001379/1.52, allocations: 0.8151 MB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001527/1.52, allocations: 66.78 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.52, allocations: 0 / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/1.52, allocations: 33.08 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/1.52, allocations: 11.56 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/1.521, allocations: 259.5 kB / 1.125 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/1.521, allocations: 0.6781 MB / 1.125 GB, free: 37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.449e-05/1.521, allocations: 4 kB / 1.125 GB, free: 37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/1.522, allocations: 16.22 kB / 1.125 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of SimCode: time 2.434e-06/1.522, allocations: 0 / 1.125 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/1.544, allocations: 2.364 MB / 1.128 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/1.545, allocations: 248.1 kB / 1.128 GB, free: 35.34 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_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: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_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: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_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