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.Exchange.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.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",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.309/2.309, allocations: 284.7 MB / 297.2 MB, free: 6.367 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.001366/0.001365, allocations: 168.9 kB / 365.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.1 MB / 0.624 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 101.5 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.439e-05, allocations: 4 kB / 0.8574 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7692, allocations: 115.2 MB / 0.97 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/1.003, allocations: 141.1 MB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.004, allocations: 93.38 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05337/1.057, allocations: 11.38 MB / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/1.057, allocations: 0 / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.057, allocations: 0 / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005825/1.058, allocations: 443.9 kB / 1.119 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.058, allocations: 12.02 kB / 1.119 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/1.058, allocations: 38.56 kB / 1.119 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/1.058, allocations: 11.95 kB / 1.119 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/1.058, allocations: 171 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.058, allocations: 7.938 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/1.058, allocations: 11.98 kB / 1.12 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/1.059, allocations: 121.6 kB / 1.12 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.059, allocations: 3.188 kB / 1.12 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/1.059, allocations: 0 / 1.12 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.059, allocations: 8 kB / 1.12 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/1.059, allocations: 59.95 kB / 1.12 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/1.059, allocations: 161.6 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/1.059, allocations: 119.2 kB / 1.12 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/1.06, allocations: 96.92 kB / 1.12 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/1.06, allocations: 7.984 kB / 1.12 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/1.06, allocations: 34.56 kB / 1.12 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/1.06, allocations: 0 / 1.12 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0006063/1.06, allocations: 203.3 kB / 1.12 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/1.06, allocations: 89.09 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.061, allocations: 118.1 kB / 1.121 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/1.061, allocations: 32.52 kB / 1.121 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/1.061, allocations: 88.12 kB / 1.121 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/1.061, allocations: 19.69 kB / 1.121 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/1.061, allocations: 4 kB / 1.121 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.061, allocations: 330.8 kB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/1.061, allocations: 55.95 kB / 1.121 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/1.061, allocations: 59.95 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/1.061, allocations: 89.64 kB / 1.121 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.062, allocations: 0 / 1.121 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005369/1.062, allocations: 211.2 kB / 1.121 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/1.062, allocations: 49.67 kB / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.062, allocations: 0 / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.062, allocations: 0 / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/1.062, allocations: 0 / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.062, allocations: 4.062 kB / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.063, allocations: 15.98 kB / 1.122 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.063, allocations: 12 kB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001992/1.063, allocations: 162.6 kB / 1.122 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/1.063, allocations: 11.91 kB / 1.122 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/1.063, allocations: 4.625 kB / 1.122 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.063, allocations: 0 / 1.122 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.063, allocations: 6 kB / 1.122 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/1.063, allocations: 8 kB / 1.122 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.063, allocations: 169.6 kB / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/1.063, allocations: 0 / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/1.063, allocations: 0 / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.063, allocations: 0 / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/1.063, allocations: 19.98 kB / 1.122 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.063, allocations: 0 / 1.122 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.063, allocations: 2.5 kB / 1.122 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/1.064, allocations: 277.5 kB / 1.122 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/1.064, allocations: 96.94 kB / 1.122 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/1.064, allocations: 4 kB / 1.122 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/1.065, allocations: 18.23 kB / 1.122 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/1.065, allocations: 8 kB / 1.122 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/1.065, allocations: 15.98 kB / 1.122 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.147e-05/1.065, allocations: 95.27 kB / 1.122 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/1.065, allocations: 3.938 kB / 1.122 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005807/1.065, allocations: 103.9 kB / 1.123 GB, free: 11.85 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.002022/1.067, allocations: 1.101 MB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000628/1.068, allocations: 283.3 kB / 1.124 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.068, allocations: 0 / 1.124 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/1.069, allocations: 211.4 kB / 1.124 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/1.069, allocations: 15.94 kB / 1.124 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.071, allocations: 0.5692 MB / 1.125 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/1.071, allocations: 0.6848 MB / 1.125 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001348/1.071, allocations: 58.66 kB / 1.125 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/1.071, allocations: 7.438 kB / 1.125 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of SimCode: time 1.373e-06/1.071, allocations: 4 kB / 1.125 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/1.105, allocations: 4.744 MB / 1.13 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/1.105, allocations: 235 kB / 1.13 GB, free: 4.125 MB / 0.7292 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_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_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_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_Exchange_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1