Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 285.4 MB / 298 MB, free: 5.969 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.001157/0.001158, allocations: 180.8 kB / 366.4 MB, free: 2.094 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.651/1.651, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0008451/0.0008453, allocations: 97.61 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.474e-05/4.5e-05, allocations: 0 / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6935, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.8881, allocations: 139.4 MB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.8885, allocations: 93.89 kB / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.9007, allocations: 4.433 MB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9007, allocations: 0 / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.9007, allocations: 0 / 1.112 GB, free: 7.828 MB / 0.7136 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.0004117/0.9012, allocations: 379.1 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9012, allocations: 10.47 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.9013, allocations: 34.55 kB / 1.112 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.9013, allocations: 3.938 kB / 1.112 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.9014, allocations: 171 kB / 1.112 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9015, allocations: 0 / 1.112 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.9015, allocations: 3.984 kB / 1.112 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.9016, allocations: 43.06 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.9016, allocations: 0 / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.9016, allocations: 4 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9017, allocations: 1.281 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.9017, allocations: 9.422 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.9019, allocations: 163 kB / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.902, allocations: 27.42 kB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.902, allocations: 13.58 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.902, allocations: 5.172 kB / 1.112 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.9021, allocations: 38.5 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.9021, allocations: 0.7812 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.9022, allocations: 53.59 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.9023, allocations: 54.97 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.9024, allocations: 89 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.9024, allocations: 25.7 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.9024, allocations: 80.14 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.9025, allocations: 8.656 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.9025, allocations: 0 / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9026, allocations: 322.6 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.9026, allocations: 8 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.9027, allocations: 4 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.9027, allocations: 11.98 kB / 1.113 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9027, allocations: 0 / 1.113 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.985e-05/0.9028, allocations: 53.62 kB / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.9028, allocations: 4 kB / 1.113 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.9028, allocations: 9.875 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9029, allocations: 0 / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.9029, allocations: 0 / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.9029, allocations: 0 / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.9029, allocations: 0 / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.9029, allocations: 6.578 kB / 1.113 GB, free: 6.031 MB / 0.7136 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 7.967e-05/0.903, allocations: 108.9 kB / 1.113 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.903, allocations: 12.19 kB / 1.113 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.9032, allocations: 69.59 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9032, allocations: 3.188 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9032, allocations: 0 / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.9032, allocations: 0 / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.9033, allocations: 157.6 kB / 1.113 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9034, allocations: 4 kB / 1.113 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.9034, allocations: 0 / 1.113 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9034, allocations: 0 / 1.113 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.9034, allocations: 0 / 1.113 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.9034, allocations: 4.031 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9034, allocations: 0 / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.996e-05/0.9035, allocations: 69.08 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.9036, allocations: 85.02 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9036, allocations: 3.984 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.9036, allocations: 0 / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.9036, allocations: 0 / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.9037, allocations: 8.031 kB / 1.114 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.9037, allocations: 87.22 kB / 1.114 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9037, allocations: 0 / 1.114 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003096/0.904, allocations: 79.84 kB / 1.114 GB, free: 5.25 MB / 0.7136 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.0009612/0.905, allocations: 0.7993 MB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.9051, allocations: 73.11 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9051, allocations: 0 / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.9052, allocations: 29.7 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.9053, allocations: 9.094 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.9061, allocations: 266.4 kB / 1.115 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.9063, allocations: 0.677 MB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.46e-05/0.9064, allocations: 4 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.9064, allocations: 11.44 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.9064, allocations: 0 / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.921, allocations: 2.373 MB / 1.118 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.9212, allocations: 250.8 kB / 1.118 GB, free: 0.8594 MB / 0.7136 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.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_maint_8_0_x_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.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1