Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.115/2.115, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.001599, allocations: 179.5 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.5764 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 95.09 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004861, allocations: 9.906 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/0.4722, allocations: 133.3 MB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004009/0.4726, allocations: 99.92 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02061/0.4933, allocations: 4.795 MB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4934, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4934, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 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.0005675/0.494, allocations: 395.1 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.494, allocations: 11.97 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.4941, allocations: 30.56 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.4941, allocations: 7.953 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.4943, allocations: 163.1 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.4943, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4944, allocations: 4 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4945, allocations: 37.69 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4945, allocations: 0 / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4946, allocations: 8 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4946, allocations: 0 / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.4946, allocations: 11.94 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.4949, allocations: 157.7 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/0.495, allocations: 34.53 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.495, allocations: 4.062 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4951, allocations: 30.56 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.4951, allocations: 4 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.4953, allocations: 57.67 kB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.4954, allocations: 59.34 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.4955, allocations: 85 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.4955, allocations: 25.7 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.4956, allocations: 84.14 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.4956, allocations: 3.906 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.4956, allocations: 256 / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4958, allocations: 326.8 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.4958, allocations: 4 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.4959, allocations: 8 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.996e-05/0.4959, allocations: 7.984 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.496, allocations: 0 / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.4961, allocations: 49.69 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4961, allocations: 8 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.4961, allocations: 0 / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4962, allocations: 4.094 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-06/0.4962, allocations: 4 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4962, allocations: 7.875 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.417e-05/0.4962, allocations: 0 / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.4963, allocations: 3.984 kB / 1.035 GB, free: 5.246 MB / 0.6823 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 0.000104/0.4964, allocations: 117.7 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.4964, allocations: 3.906 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.4966, allocations: 73.59 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.4967, allocations: 4.031 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4967, allocations: 0 / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4967, allocations: 4 kB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.4969, allocations: 153.6 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.4969, allocations: 4 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-06/0.4969, allocations: 0 / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4969, allocations: 0 / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4969, allocations: 4 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4969, allocations: 0 / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.497, allocations: 0 / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.4971, allocations: 77.02 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.4972, allocations: 81.09 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4972, allocations: 0 / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4973, allocations: 4 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.4973, allocations: 0 / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4974, allocations: 8 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.4974, allocations: 79.27 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4974, allocations: 8.031 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004634/0.4979, allocations: 71.91 kB / 1.036 GB, free: 4.465 MB / 0.6823 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.001225/0.4992, allocations: 0.8123 MB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.4993, allocations: 71.39 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4994, allocations: 0 / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.4994, allocations: 33.7 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4996, allocations: 3.938 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.5008, allocations: 315 kB / 1.037 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.5011, allocations: 0.6809 MB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.421e-05/0.5012, allocations: 4 kB / 1.038 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.5012, allocations: 7.438 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/0.5012, allocations: 4 kB / 1.038 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.5339, allocations: 2.381 MB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004439/0.5344, allocations: 286.7 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1