Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.534/2.534, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001688/0.001688, allocations: 186.3 kB / 370.8 MB, free: 10.85 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.357/2.357, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001171/0.001171, allocations: 102.7 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007281/0.0007284, allocations: 10.86 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2657, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.001085/0.2669, allocations: 270 kB / 0.9786 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.2696, allocations: 1.063 MB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.2697, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.2698, allocations: 4 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.2699, allocations: 4 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.2707, allocations: 143.6 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.2708, allocations: 7.984 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.2709, allocations: 4 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.2709, allocations: 11.94 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.667e-05/0.271, allocations: 7.984 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.271, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.2716, allocations: 143.7 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.2717, allocations: 8 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.2717, allocations: 25.7 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.2721, allocations: 139.8 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2721, allocations: 0 / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2721, allocations: 0 / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2722, allocations: 0 / 0.9801 GB, free: 26.45 MB / 0.6198 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.0004063/0.2726, allocations: 369.2 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.2727, allocations: 12.03 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.2727, allocations: 34.5 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.2728, allocations: 3.953 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2729, allocations: 167.2 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.273, allocations: 4 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.273, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.2732, allocations: 41.67 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2732, allocations: 4 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2732, allocations: 3.984 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/0.2733, allocations: 4 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.2734, allocations: 8 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.2736, allocations: 157.6 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.2737, allocations: 38.53 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.2737, allocations: 0 / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2738, allocations: 38.5 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.2738, allocations: 0 / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002504/0.2741, allocations: 57.73 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2741, allocations: 55.34 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.2742, allocations: 97.86 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2742, allocations: 25.7 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.2743, allocations: 80.14 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.2744, allocations: 8.141 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.2744, allocations: 4 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.2745, allocations: 314.8 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.2745, allocations: 15.98 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.2746, allocations: 4 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.2746, allocations: 11.98 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2747, allocations: 0 / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001553/0.2748, allocations: 45.69 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2749, allocations: 4 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2749, allocations: 4.094 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2749, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.2749, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.275, allocations: 4 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.275, allocations: 3.938 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.275, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 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 0.0001002/0.2752, allocations: 121.8 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.2752, allocations: 0 / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/0.2752, allocations: 3.125 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.2753, allocations: 8 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2753, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2753, allocations: 3.938 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2755, allocations: 153.6 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2755, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.2755, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2755, allocations: 4 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.2756, allocations: 0 / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2756, allocations: 0 / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2756, allocations: 3.984 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.2758, allocations: 85.08 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2759, allocations: 88.95 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.276, allocations: 3.984 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.2763, allocations: 4 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.2763, allocations: 7.922 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.2764, allocations: 4 kB / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.2765, allocations: 79.28 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.594e-06/0.2765, allocations: 4.125 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001119/0.2777, allocations: 51.98 kB / 0.9822 GB, free: 23.93 MB / 0.6198 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.00196/0.2797, allocations: 0.8152 MB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.2798, allocations: 15.94 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2799, allocations: 0 / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.2799, allocations: 15.98 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.28, allocations: 0 / 0.983 GB, free: 23.11 MB / 0.6198 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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.0006274/0.2807, allocations: 172.4 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2808, allocations: 0.677 MB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.618e-05/0.2809, allocations: 15.98 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.281, allocations: 23.36 kB / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.281, allocations: 0 / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5291/0.8101, allocations: 2.225 MB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/0.8104, allocations: 281.3 kB / 0.9863 GB, free: 19.76 MB / 0.6198 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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.o Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c In file included from Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.c:7: In file included from ./Buildings_8_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/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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_IO_Python36_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_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_functions.o] Error 1