Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01016/0.01017, allocations: 89.84 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001172/0.001172, allocations: 172.3 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.112/2.112, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.586/2.586, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.000508, allocations: 10.19 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3116, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008604/0.3125, allocations: 273.8 kB / 0.7283 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3145, allocations: 1.07 MB / 0.7294 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.3146, allocations: 0 / 0.7294 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.351e-05/0.3147, allocations: 0 / 0.7294 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.3148, allocations: 0 / 0.7294 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.3153, allocations: 139.7 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.3154, allocations: 11.94 kB / 0.7295 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.3155, allocations: 7.984 kB / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.3155, allocations: 11.98 kB / 0.7295 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.3156, allocations: 7.984 kB / 0.7295 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3156, allocations: 4 kB / 0.7296 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.316, allocations: 142.8 kB / 0.7297 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.3161, allocations: 7.984 kB / 0.7297 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.3161, allocations: 33.64 kB / 0.7297 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3165, allocations: 139.8 kB / 0.7299 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3165, allocations: 0 / 0.7299 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3165, allocations: 0 / 0.7299 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.3165, allocations: 0 / 0.7299 GB, free: 8.32 MB / 0.5573 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.0004052/0.3169, allocations: 363.3 kB / 0.7302 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.317, allocations: 8.031 kB / 0.7302 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.317, allocations: 30.56 kB / 0.7302 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3171, allocations: 7.953 kB / 0.7303 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3172, allocations: 163.1 kB / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3172, allocations: 0 / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3173, allocations: 0 / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3174, allocations: 41.69 kB / 0.7304 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3174, allocations: 0 / 0.7304 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3175, allocations: 7.938 kB / 0.7305 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.3175, allocations: 0 / 0.7305 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.3176, allocations: 19.88 kB / 0.7305 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.3178, allocations: 161.7 kB / 0.7306 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.3179, allocations: 22.61 kB / 0.7307 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.3179, allocations: 4.062 kB / 0.7307 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3179, allocations: 42.55 kB / 0.7307 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.3179, allocations: 0 / 0.7307 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.3181, allocations: 53.62 kB / 0.7307 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3182, allocations: 51.41 kB / 0.7308 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.3183, allocations: 101.8 kB / 0.7309 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3183, allocations: 25.7 kB / 0.7309 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.3184, allocations: 80.14 kB / 0.731 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3184, allocations: 12.12 kB / 0.731 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.3184, allocations: 4.25 kB / 0.731 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3185, allocations: 314.8 kB / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.3186, allocations: 4 kB / 0.7313 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.3186, allocations: 15.98 kB / 0.7313 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.3187, allocations: 4 kB / 0.7313 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3187, allocations: 0 / 0.7313 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001212/0.3188, allocations: 53.56 kB / 0.7314 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3188, allocations: 11.98 kB / 0.7314 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3189, allocations: 96 / 0.7314 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3189, allocations: 4 kB / 0.7314 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.3189, allocations: 0 / 0.7314 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3189, allocations: 0 / 0.7314 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.3189, allocations: 3.984 kB / 0.7314 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.319, allocations: 4 kB / 0.7314 GB, free: 6.516 MB / 0.5573 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 8.984e-05/0.3191, allocations: 113.8 kB / 0.7315 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.3191, allocations: 11.91 kB / 0.7315 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.3191, allocations: 7.078 kB / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.3191, allocations: 3.984 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3192, allocations: 4 kB / 0.7315 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3192, allocations: 4 kB / 0.7315 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3193, allocations: 153.6 kB / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3193, allocations: 0 / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.3194, allocations: 0 / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3194, allocations: 0 / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3194, allocations: 0 / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3194, allocations: 4 kB / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3194, allocations: 0 / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3196, allocations: 81.02 kB / 0.7318 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.3196, allocations: 85.03 kB / 0.7319 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3197, allocations: 4 kB / 0.7319 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.3198, allocations: 0 / 0.7319 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3198, allocations: 4 kB / 0.7319 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3198, allocations: 0 / 0.7319 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.3199, allocations: 83.27 kB / 0.7319 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3199, allocations: 128 / 0.7319 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003902/0.3203, allocations: 63.92 kB / 0.732 GB, free: 5.809 MB / 0.5573 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 (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001187/0.3215, allocations: 0.8179 MB / 0.7328 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3216, allocations: 19.97 kB / 0.7328 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3216, allocations: 4 kB / 0.7328 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.3217, allocations: 4 kB / 0.7328 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.3218, allocations: 8 kB / 0.7328 GB, free: 4.988 MB / 0.5573 GB Warning: Could not resolve URI ("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.3224, allocations: 168.4 kB / 0.733 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3228, allocations: 0.6847 MB / 0.7337 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.639e-05/0.3229, allocations: 19.97 kB / 0.7337 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3229, allocations: 19.42 kB / 0.7337 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of SimCode: time 9.21e-07/0.323, allocations: 0 / 0.7337 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5504/0.8734, allocations: 2.224 MB / 0.7359 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000425/0.8739, allocations: 305.1 kB / 0.7362 GB, free: 1.562 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_7_0_0_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/pythonWrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1