Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.00111/0.00111, allocations: 175.2 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.001002/0.001002, allocations: 97.02 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2392, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.4178, allocations: 134.7 MB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4181, allocations: 87.94 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0294/0.4475, allocations: 10.9 MB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4476, allocations: 0 / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4476, allocations: 0 / 1.042 GB, free: 13.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005716/0.4482, allocations: 448.7 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4482, allocations: 16.03 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.4483, allocations: 30.56 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.4484, allocations: 19.84 kB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4485, allocations: 171.1 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4485, allocations: 0 / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4486, allocations: 8 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.4488, allocations: 117.6 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.4489, allocations: 0 / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4489, allocations: 4 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4489, allocations: 3.984 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.449, allocations: 75.88 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.4492, allocations: 161.7 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.4494, allocations: 106.5 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.4494, allocations: 8.016 kB / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.4494, allocations: 30.56 kB / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4494, allocations: 0 / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005487/0.45, allocations: 364.3 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.45, allocations: 93.05 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.4501, allocations: 124.8 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4502, allocations: 25.7 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.4502, allocations: 88.14 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.4503, allocations: 15.75 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.4503, allocations: 4 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4504, allocations: 322.8 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.4505, allocations: 55.95 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.4506, allocations: 67.94 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4507, allocations: 89.66 kB / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4507, allocations: 0 / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002973/0.451, allocations: 215.2 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.4511, allocations: 41.69 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4511, allocations: 256 / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4511, allocations: 0 / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.4511, allocations: 4 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4511, allocations: 0 / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.4514, allocations: 27.89 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.4514, allocations: 19.98 kB / 1.045 GB, free: 11.01 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked 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.0001483/0.4516, allocations: 163.5 kB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.4516, allocations: 15.91 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.4516, allocations: 4.375 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4516, allocations: 0 / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4517, allocations: 4 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4517, allocations: 0 / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.4518, allocations: 169.6 kB / 1.045 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4518, allocations: 4 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.4518, allocations: 0 / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.4518, allocations: 4 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.4519, allocations: 19.92 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4519, allocations: 0 / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4519, allocations: 0 / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.4523, allocations: 279.2 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.4523, allocations: 89 kB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4524, allocations: 8 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.4525, allocations: 16.02 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.4526, allocations: 15.92 kB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.4526, allocations: 12 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.4527, allocations: 99.25 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4527, allocations: 0 / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004515/0.4531, allocations: 103.9 kB / 1.046 GB, free: 9.918 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * 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: 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.001499/0.4547, allocations: 1.124 MB / 1.047 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.4551, allocations: 287.3 kB / 1.047 GB, free: 8.562 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4551, allocations: 0 / 1.047 GB, free: 8.562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.4553, allocations: 211.3 kB / 1.048 GB, free: 8.344 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4554, allocations: 7.188 kB / 1.048 GB, free: 8.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4568, allocations: 0.6092 MB / 1.048 GB, free: 7.688 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.457, allocations: 0.6887 MB / 1.049 GB, free: 6.973 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.4571, allocations: 51.88 kB / 1.049 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.4571, allocations: 15.42 kB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.4571, allocations: 0 / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.4763, allocations: 4.657 MB / 1.053 GB, free: 2.402 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004073/0.4768, allocations: 274 kB / 1.054 GB, free: 2.039 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.o Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_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 -falign-functions -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.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_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_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/pythonWrapper.c:22:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1