Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000708/0.000708, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007263/0.0007264, allocations: 173.7 kB / 16.58 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5973/0.5973, allocations: 113.7 MB / 405.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002595, allocations: 9.062 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00142/0.1206, allocations: 1.184 MB / 0.5581 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1217, allocations: 1.027 MB / 0.5591 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.1217, allocations: 4 kB / 0.5591 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1219, allocations: 11.94 kB / 0.5591 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.122, allocations: 31.84 kB / 0.5591 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1222, allocations: 61.77 kB / 0.5592 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1223, allocations: 123.5 kB / 0.5593 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1225, allocations: 49.28 kB / 0.5593 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.1225, allocations: 63.83 kB / 0.5594 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1227, allocations: 47.7 kB / 0.5594 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1227, allocations: 4 kB / 0.5594 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.1228, allocations: 16 kB / 0.5594 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.1228, allocations: 43.88 kB / 0.5595 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1229, allocations: 45.58 kB / 0.5595 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.123, allocations: 139.9 kB / 0.5597 GB, free: 8.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.123, allocations: 0 / 0.5597 GB, free: 8.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.123, allocations: 4 kB / 0.5597 GB, free: 8.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.123, allocations: 0 / 0.5597 GB, free: 8.812 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005142/0.1235, allocations: 466.6 kB / 0.5601 GB, free: 8.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1236, allocations: 8.031 kB / 0.5601 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1236, allocations: 42.56 kB / 0.5602 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1237, allocations: 19.8 kB / 0.5602 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1239, allocations: 246.7 kB / 0.5604 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.1241, allocations: 122.7 kB / 0.5605 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1241, allocations: 4 kB / 0.5605 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1244, allocations: 173.5 kB / 0.5607 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1244, allocations: 0 / 0.5607 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1244, allocations: 3.984 kB / 0.5607 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.1244, allocations: 8 kB / 0.5607 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.1245, allocations: 47.91 kB / 0.5608 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.1254, allocations: 480.4 kB / 0.5612 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.1255, allocations: 34.56 kB / 0.5613 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.1255, allocations: 20.84 kB / 0.5613 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1255, allocations: 11.88 kB / 0.5613 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1256, allocations: 34.56 kB / 0.5613 GB, free: 6.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.1256, allocations: 4 kB / 0.5613 GB, free: 6.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002017/0.1258, allocations: 101.6 kB / 0.5614 GB, free: 6.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1258, allocations: 59.39 kB / 0.5615 GB, free: 6.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.126, allocations: 212.5 kB / 0.5617 GB, free: 6.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.126, allocations: 37.64 kB / 0.5617 GB, free: 6.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1261, allocations: 120 kB / 0.5618 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1261, allocations: 31.56 kB / 0.5619 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.1261, allocations: 0 / 0.5619 GB, free: 6.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1263, allocations: 330.8 kB / 0.5622 GB, free: 6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.1263, allocations: 23.97 kB / 0.5622 GB, free: 5.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.1264, allocations: 106.2 kB / 0.5623 GB, free: 5.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1265, allocations: 35.98 kB / 0.5623 GB, free: 5.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1265, allocations: 4 kB / 0.5623 GB, free: 5.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002021/0.1267, allocations: 153.1 kB / 0.5625 GB, free: 5.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1267, allocations: 8 kB / 0.5625 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1267, allocations: 4 kB / 0.5625 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1267, allocations: 4.375 kB / 0.5625 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.1268, allocations: 27.98 kB / 0.5625 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1268, allocations: 4 kB / 0.5625 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.1269, allocations: 11.88 kB / 0.5625 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1269, allocations: 8 kB / 0.5625 GB, free: 5.574 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 9.833e-05/0.127, allocations: 146.4 kB / 0.5627 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.1271, allocations: 15.81 kB / 0.5627 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.1272, allocations: 118.8 kB / 0.5628 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1273, allocations: 4 kB / 0.5628 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1273, allocations: 4 kB / 0.5628 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1273, allocations: 0 / 0.5628 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1275, allocations: 241.4 kB / 0.5631 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1275, allocations: 0 / 0.5631 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.1275, allocations: 12 kB / 0.5631 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1275, allocations: 0 / 0.5631 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1276, allocations: 7.922 kB / 0.5631 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1276, allocations: 400 / 0.5631 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1276, allocations: 0 / 0.5631 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1277, allocations: 199.2 kB / 0.5633 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.1278, allocations: 92.92 kB / 0.5634 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1278, allocations: 4 kB / 0.5634 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.128, allocations: 27.97 kB / 0.5634 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.128, allocations: 8 kB / 0.5634 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1281, allocations: 15.97 kB / 0.5634 GB, free: 4.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1282, allocations: 157.5 kB / 0.5636 GB, free: 4.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1282, allocations: 0 / 0.5636 GB, free: 4.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1285, allocations: 31.84 kB / 0.5636 GB, free: 4.414 MB / 430.1 MB 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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0004651/0.129, allocations: 0.7477 MB / 0.5643 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1291, allocations: 71.83 kB / 0.5644 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1291, allocations: 0 / 0.5644 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.1291, allocations: 28.67 kB / 0.5644 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1294, allocations: 25.83 kB / 0.5644 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1305, allocations: 0.9522 MB / 0.5654 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1308, allocations: 0.7405 MB / 0.5661 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1309, allocations: 52.73 kB / 0.5661 GB, free: 1.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.131, allocations: 47.41 kB / 0.5662 GB, free: 1.625 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.131, allocations: 0 / 0.5662 GB, free: 1.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1441, allocations: 3.911 MB / 0.57 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.1443, allocations: 187.4 kB / 0.5702 GB, free: 13.66 MB / 446.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources/WeeklySchedule.c:20:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.o] Error 1