Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001138/0.001138, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4751/0.4751, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.554/1.554, allocations: 221.3 MB / 348.3 MB, free: 420 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009335, allocations: 104.3 kB / 421.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.298e-05, allocations: 4 kB / 0.4897 GB, free: 5.238 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3967, allocations: 72.31 MB / 0.5603 GB, free: 40.39 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.5155, allocations: 101.7 MB / 0.6597 GB, free: 2.531 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.5157, allocations: 83.92 kB / 0.6597 GB, free: 2.449 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005724/0.5215, allocations: 2.326 MB / 0.662 GB, free: 132 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5215, allocations: 0 / 0.662 GB, free: 132 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.5215, allocations: 3.312 kB / 0.662 GB, free: 132 kB / 474.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.0002419/0.5218, allocations: 330.1 kB / 0.6623 GB, free: 15.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5218, allocations: 11.98 kB / 0.6623 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.5219, allocations: 109.8 kB / 0.6624 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.5219, allocations: 87.14 kB / 0.6625 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.5221, allocations: 234.4 kB / 0.6628 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.5221, allocations: 151.2 kB / 0.6629 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.5222, allocations: 165.2 kB / 0.6631 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.977e-05/0.5223, allocations: 105 kB / 0.6632 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.5223, allocations: 75.28 kB / 0.6632 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.5224, allocations: 150.6 kB / 0.6634 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.5224, allocations: 154.6 kB / 0.6635 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.5225, allocations: 154.5 kB / 0.6637 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.5227, allocations: 449.9 kB / 0.6641 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.5228, allocations: 177.1 kB / 0.6643 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.5229, allocations: 84.14 kB / 0.6643 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.5229, allocations: 75.98 kB / 0.6644 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.5229, allocations: 105.8 kB / 0.6645 GB, free: 13.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.5229, allocations: 0 / 0.6645 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.535e-05/0.523, allocations: 33.64 kB / 0.6646 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.5231, allocations: 126.7 kB / 0.6647 GB, free: 13.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.5232, allocations: 105 kB / 0.6648 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.5232, allocations: 25.7 kB / 0.6648 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.5233, allocations: 80.14 kB / 0.6649 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.5233, allocations: 0 / 0.6649 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.5233, allocations: 0 / 0.6649 GB, free: 12.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.5234, allocations: 318.8 kB / 0.6652 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.5234, allocations: 4 kB / 0.6652 GB, free: 12.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.5234, allocations: 11.98 kB / 0.6652 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.5235, allocations: 8.094 kB / 0.6652 GB, free: 12.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5235, allocations: 3.938 kB / 0.6652 GB, free: 12.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.5236, allocations: 41.59 kB / 0.6652 GB, free: 12.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5236, allocations: 8 kB / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5236, allocations: 3.938 kB / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5236, allocations: 0 / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.5236, allocations: 0 / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5237, allocations: 0 / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.5237, allocations: 0 / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.5237, allocations: 8 kB / 0.6653 GB, free: 12.58 MB / 490.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 () * 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 8.657e-05/0.5238, allocations: 184.2 kB / 0.6654 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.5239, allocations: 113.9 kB / 0.6655 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.524, allocations: 111.6 kB / 0.6657 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-05/0.524, allocations: 176.3 kB / 0.6658 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-05/0.5241, allocations: 176.3 kB / 0.666 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.244e-05/0.5242, allocations: 196.2 kB / 0.6662 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.5244, allocations: 397.2 kB / 0.6666 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/0.5244, allocations: 108.9 kB / 0.6667 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.5244, allocations: 109 kB / 0.6668 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.258e-05/0.5245, allocations: 176.3 kB / 0.6669 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.5246, allocations: 184.2 kB / 0.6671 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.574e-05/0.5246, allocations: 182.7 kB / 0.6673 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-05/0.5247, allocations: 180.2 kB / 0.6675 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.5249, allocations: 307.8 kB / 0.6677 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.5249, allocations: 182 kB / 0.6679 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.525, allocations: 184.3 kB / 0.6681 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.5251, allocations: 112.9 kB / 0.6682 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.5252, allocations: 181.2 kB / 0.6684 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.5252, allocations: 101 kB / 0.6685 GB, free: 9.074 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.5253, allocations: 83.28 kB / 0.6686 GB, free: 8.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5253, allocations: 3.938 kB / 0.6686 GB, free: 8.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.5255, allocations: 8 kB / 0.6686 GB, free: 8.98 MB / 490.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 () * 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.0004467/0.526, allocations: 0.8227 MB / 0.6694 GB, free: 8.129 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.526, allocations: 4 kB / 0.6694 GB, free: 8.125 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5261, allocations: 64 / 0.6694 GB, free: 8.125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.5261, allocations: 7.938 kB / 0.6694 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.5264, allocations: 0.5263 MB / 0.6699 GB, free: 7.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.5267, allocations: 165.8 kB / 0.67 GB, free: 7.387 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5269, allocations: 0.677 MB / 0.6707 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.527, allocations: 4.844 kB / 0.6707 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.527, allocations: 11.44 kB / 0.6707 GB, free: 6.668 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.527, allocations: 0 / 0.6707 GB, free: 6.668 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.5398, allocations: 1.083 MB / 0.6718 GB, free: 5.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.5401, allocations: 208.5 kB / 0.672 GB, free: 5.586 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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 -falign-functions -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o] Error 1