Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.598/0.598, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.1 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 100.2 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 72.31 MB / 0.5689 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4439, allocations: 101.6 MB / 0.6682 GB, free: 2.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4441, allocations: 87.94 kB / 0.6683 GB, free: 2.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004868/0.449, allocations: 2.288 MB / 0.6705 GB, free: 380 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.449, allocations: 0 / 0.6705 GB, free: 380 kB / 458.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.449, allocations: 0 / 0.6705 GB, free: 380 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002278/0.4493, allocations: 343.8 kB / 0.6708 GB, free: 15.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4493, allocations: 12.03 kB / 0.6709 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.4494, allocations: 113.8 kB / 0.671 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.4494, allocations: 79.23 kB / 0.671 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4495, allocations: 240.2 kB / 0.6713 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.4496, allocations: 154.6 kB / 0.6714 GB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.4496, allocations: 150.6 kB / 0.6716 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.398e-05/0.4497, allocations: 104.9 kB / 0.6717 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.4497, allocations: 83.28 kB / 0.6717 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.4497, allocations: 150.6 kB / 0.6719 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.4498, allocations: 150.6 kB / 0.672 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.4498, allocations: 162.5 kB / 0.6722 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.45, allocations: 445.9 kB / 0.6726 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.4501, allocations: 177.1 kB / 0.6728 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.4501, allocations: 75.28 kB / 0.6728 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4502, allocations: 109.8 kB / 0.6729 GB, free: 13.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4502, allocations: 0 / 0.6729 GB, free: 13.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.1e-05/0.4502, allocations: 33.61 kB / 0.673 GB, free: 13.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4503, allocations: 134.7 kB / 0.6731 GB, free: 13.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.4504, allocations: 92.98 kB / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4504, allocations: 33.7 kB / 0.6732 GB, free: 13.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.4504, allocations: 80.14 kB / 0.6733 GB, free: 13.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.4504, allocations: 0 / 0.6733 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.4505, allocations: 3.938 kB / 0.6733 GB, free: 13.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.4505, allocations: 315.5 kB / 0.6736 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.4506, allocations: 4 kB / 0.6736 GB, free: 12.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.4506, allocations: 15.98 kB / 0.6736 GB, free: 12.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.4506, allocations: 4 kB / 0.6736 GB, free: 12.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4506, allocations: 4 kB / 0.6736 GB, free: 12.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.615e-05/0.4507, allocations: 33.7 kB / 0.6737 GB, free: 12.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4507, allocations: 7.984 kB / 0.6737 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4507, allocations: 8.188 kB / 0.6737 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.4507, allocations: 0 / 0.6737 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.4508, allocations: 4 kB / 0.6737 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.4508, allocations: 0 / 0.6737 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.4508, allocations: 4.125 kB / 0.6737 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4508, allocations: 4 kB / 0.6737 GB, free: 12.88 MB / 474.7 MB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 7.2e-05/0.4509, allocations: 185.1 kB / 0.6739 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.451, allocations: 112.9 kB / 0.674 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.451, allocations: 108.5 kB / 0.6741 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/0.4511, allocations: 187.2 kB / 0.6743 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.155e-05/0.4511, allocations: 180.3 kB / 0.6744 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/0.4512, allocations: 180.3 kB / 0.6746 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4513, allocations: 409.1 kB / 0.675 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.4514, allocations: 105 kB / 0.6751 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.4514, allocations: 108.9 kB / 0.6752 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.175e-05/0.4514, allocations: 176.3 kB / 0.6754 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.4515, allocations: 180.3 kB / 0.6755 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.224e-05/0.4515, allocations: 184.2 kB / 0.6757 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.14e-05/0.4516, allocations: 180.3 kB / 0.6759 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.366e-05/0.4517, allocations: 311.6 kB / 0.6762 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.4518, allocations: 190 kB / 0.6764 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.4518, allocations: 180.3 kB / 0.6765 GB, free: 9.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.4519, allocations: 108.9 kB / 0.6766 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.4519, allocations: 180.2 kB / 0.6768 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.452, allocations: 105 kB / 0.6769 GB, free: 9.359 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.621e-05/0.452, allocations: 87.28 kB / 0.677 GB, free: 9.273 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.452, allocations: 4 kB / 0.677 GB, free: 9.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.4522, allocations: 4 kB / 0.677 GB, free: 9.266 MB / 474.7 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 (0): * Single equations (assignments): 0 * 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.0003509/0.4526, allocations: 0.8238 MB / 0.6778 GB, free: 8.418 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.412e-05/0.4526, allocations: 11.98 kB / 0.6778 GB, free: 8.406 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4526, allocations: 0 / 0.6778 GB, free: 8.406 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.4526, allocations: 0 / 0.6778 GB, free: 8.406 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.4529, allocations: 0.5146 MB / 0.6783 GB, free: 7.887 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.4532, allocations: 378.3 kB / 0.6787 GB, free: 7.465 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4534, allocations: 0.677 MB / 0.6793 GB, free: 6.762 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.602e-05/0.4534, allocations: 4 kB / 0.6793 GB, free: 6.758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.4535, allocations: 11.44 kB / 0.6794 GB, free: 6.746 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4535, allocations: 0 / 0.6794 GB, free: 6.746 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.846/1.299, allocations: 1.055 MB / 0.6804 GB, free: 5.871 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.3, allocations: 208.4 kB / 0.6806 GB, free: 5.629 MB / 474.7 MB 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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1