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.3/2.3, allocations: 248.5 MB / 261.1 MB, free: 6.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.001479, allocations: 188.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001165/0.001165, allocations: 94.47 kB / 0.6754 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.803e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2338, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8904/1.124, allocations: 133.3 MB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.125, allocations: 101.1 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0196/1.144, allocations: 4.61 MB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/1.144, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.585e-06/1.144, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 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.0005427/1.145, allocations: 377.8 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.145, allocations: 8.031 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/1.145, allocations: 30.56 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/1.145, allocations: 7.953 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.145, allocations: 163.1 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.145, allocations: 3.875 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/1.145, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/1.145, allocations: 41.69 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.145, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.145, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.145, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/1.146, allocations: 15.89 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/1.146, allocations: 153.5 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/1.146, allocations: 37.66 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/1.146, allocations: 8.922 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/1.146, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.146, allocations: 30.56 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/1.146, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001942/1.146, allocations: 53.56 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/1.146, allocations: 51.41 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/1.146, allocations: 101 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.146, allocations: 25.7 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/1.146, allocations: 83.7 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/1.147, allocations: 7.906 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/1.147, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.147, allocations: 310.8 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/1.147, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/1.147, allocations: 7.984 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/1.147, allocations: 15.12 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.147, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001382/1.147, allocations: 45.69 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.147, allocations: 8 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.147, allocations: 3.984 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.147, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/1.147, allocations: 3.938 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.147, allocations: 4 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/1.147, allocations: 3.938 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/1.147, allocations: 10.67 kB / 1.027 GB, free: 12.54 MB / 0.6511 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 8.389e-05/1.147, allocations: 105 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/1.147, allocations: 7.844 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/1.147, allocations: 67.66 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.148, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.148, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.148, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/1.148, allocations: 165.5 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.148, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/1.148, allocations: 4.031 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.148, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.148, allocations: 7.984 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/1.148, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.148, allocations: 3.938 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/1.148, allocations: 68.39 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/1.148, allocations: 80.55 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/1.148, allocations: 4.031 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/1.148, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/1.148, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/1.148, allocations: 3.984 kB / 1.027 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.532e-05/1.148, allocations: 83.27 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.148, allocations: 0 / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004421/1.149, allocations: 74.36 kB / 1.028 GB, free: 11.79 MB / 0.6511 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.001215/1.15, allocations: 0.8031 MB / 1.028 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.15, allocations: 70.95 kB / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.15, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/1.15, allocations: 41.7 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/1.15, allocations: 1.422 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.151, allocations: 264 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.152, allocations: 0.677 MB / 1.029 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.559e-05/1.152, allocations: 15.78 kB / 1.029 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/1.152, allocations: 7.438 kB / 1.029 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/1.152, allocations: 64 / 1.029 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/1.177, allocations: 2.4 MB / 1.032 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003703/1.177, allocations: 251.9 kB / 1.032 GB, free: 7.344 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 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: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 -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 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: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_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