Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.121/2.121, allocations: 251 MB / 265.9 MB, free: 11.68 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.001588/0.001588, allocations: 180.1 kB / 325.5 MB, free: 2.91 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.482/2.482, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001156/0.001156, allocations: 100.1 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007113/0.0007115, allocations: 18.72 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2553, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.501, allocations: 133 MB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.5014, allocations: 87.92 kB / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02831/0.5298, allocations: 4.643 MB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5298, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5298, allocations: 0 / 1.033 GB, free: 7.973 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.0005381/0.5304, allocations: 379.2 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5304, allocations: 8.031 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.5305, allocations: 38.56 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.5305, allocations: 3.953 kB / 1.034 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5307, allocations: 167 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5307, allocations: 7.984 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.5308, allocations: 7.938 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.5309, allocations: 41.69 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5309, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.531, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.531, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.531, allocations: 15.94 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.5313, allocations: 157.7 kB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.5314, allocations: 34.55 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.462e-05/0.5314, allocations: 3.938 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.5315, allocations: 38.62 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.5315, allocations: 0 / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.5317, allocations: 53.67 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5318, allocations: 51.41 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.5319, allocations: 93.22 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5319, allocations: 29.73 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.532, allocations: 80.14 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.532, allocations: 3.906 kB / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.532, allocations: 0 / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5322, allocations: 326.8 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.5322, allocations: 4 kB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.5323, allocations: 7.938 kB / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.5323, allocations: 11.98 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5324, allocations: 4.062 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001414/0.5325, allocations: 53.62 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5325, allocations: 4 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.5326, allocations: 4 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5326, allocations: 0 / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.5326, allocations: 0 / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5326, allocations: 0 / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.5327, allocations: 3.984 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.5327, allocations: 4 kB / 1.035 GB, free: 6.148 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.0001062/0.5328, allocations: 119.7 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.5328, allocations: 3.906 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.5331, allocations: 69.59 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5331, allocations: 0 / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5331, allocations: 0 / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5331, allocations: 0 / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5333, allocations: 157.6 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.5333, allocations: 4 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.5333, allocations: 0 / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5333, allocations: 4.031 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5333, allocations: 0 / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5333, allocations: 0 / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5334, allocations: 3.938 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.5335, allocations: 73.02 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.5336, allocations: 85.09 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.5336, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.5337, allocations: 4 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.5337, allocations: 8.031 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5337, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.5338, allocations: 87.27 kB / 1.036 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/0.5338, allocations: 0 / 1.036 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004648/0.5343, allocations: 79.84 kB / 1.036 GB, free: 5.363 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.001273/0.5356, allocations: 0.8056 MB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.5358, allocations: 75.33 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.5358, allocations: 0 / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.5359, allocations: 33.7 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.536, allocations: 8.062 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5374, allocations: 296.4 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5378, allocations: 0.6731 MB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.276e-05/0.5379, allocations: 11.92 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.5379, allocations: 7.438 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/0.5379, allocations: 0 / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.5682, allocations: 2.361 MB / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004753/0.5687, allocations: 288.1 kB / 1.04 GB, free: 0.8672 MB / 0.6823 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_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: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_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: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_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: /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_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