Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.713/2.713, allocations: 287.3 MB / 302.3 MB, free: 8.434 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.001658/0.001658, allocations: 176.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.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: 88.61 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007125/0.0007121, allocations: 15.67 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2359, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9497/1.186, allocations: 139.6 MB / 1.115 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.186, allocations: 98.06 kB / 1.115 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01894/1.205, allocations: 4.793 MB / 1.119 GB, free: 31.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.857e-06/1.205, allocations: 0 / 1.119 GB, free: 31.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.366e-06/1.205, allocations: 7.594 kB / 1.119 GB, free: 31.02 MB / 0.698 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.0005108/1.206, allocations: 375.3 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.206, allocations: 15.48 kB / 1.12 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/1.206, allocations: 30.56 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/1.206, allocations: 7.953 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/1.206, allocations: 162.1 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/1.206, allocations: 3.812 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/1.206, allocations: 0 / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/1.206, allocations: 43.95 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.206, allocations: 0 / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.206, allocations: 0 / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.206, allocations: 6.938 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/1.206, allocations: 3.844 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/1.206, allocations: 164.4 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/1.207, allocations: 28.75 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/1.207, allocations: 7.781 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.207, allocations: 37.59 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.207, allocations: 0 / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002063/1.207, allocations: 61.48 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/1.207, allocations: 55.53 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/1.207, allocations: 85 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.207, allocations: 29.64 kB / 1.121 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/1.207, allocations: 83.58 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/1.207, allocations: 0 / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/1.207, allocations: 0 / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.207, allocations: 317.8 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/1.207, allocations: 11.44 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/1.207, allocations: 17.64 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/1.207, allocations: 10.11 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.207, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/1.208, allocations: 48 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.208, allocations: 3.812 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.208, allocations: 9.828 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.208, allocations: 0 / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/1.208, allocations: 0 / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.208, allocations: 0 / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/1.208, allocations: 4.094 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.208, allocations: 3.594 kB / 1.121 GB, free: 29.42 MB / 0.698 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 8.998e-05/1.208, allocations: 116.4 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/1.208, allocations: 0 / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/1.208, allocations: 75.23 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.208, allocations: 0 / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.208, allocations: 0 / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.208, allocations: 0 / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/1.208, allocations: 165.9 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/1.208, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/1.208, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.208, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.208, allocations: 7.844 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.208, allocations: 2.859 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.208, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/1.208, allocations: 70.3 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/1.208, allocations: 87.77 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/1.209, allocations: 3.938 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/1.209, allocations: 3.625 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/1.209, allocations: 0 / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.209, allocations: 6.516 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.64e-05/1.209, allocations: 83.06 kB / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.209, allocations: 0 / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005097/1.209, allocations: 74.59 kB / 1.122 GB, free: 28.77 MB / 0.698 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.001118/1.21, allocations: 0.8114 MB / 1.122 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001575/1.211, allocations: 71.64 kB / 1.123 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.211, allocations: 4.062 kB / 1.123 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/1.211, allocations: 35.41 kB / 1.123 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/1.211, allocations: 3.719 kB / 1.123 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.212, allocations: 307.4 kB / 1.123 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/1.212, allocations: 0.68 MB / 1.124 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.374e-05/1.212, allocations: 10.72 kB / 1.124 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/1.212, allocations: 11.44 kB / 1.124 GB, free: 27.13 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.212, allocations: 0 / 1.124 GB, free: 27.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/1.239, allocations: 2.386 MB / 1.126 GB, free: 26.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/1.24, allocations: 300.4 kB / 1.126 GB, free: 26.51 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1