Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.0008339/0.0008338, allocations: 96.89 kB / 15.69 MB, free: 480 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.0007792/0.0007792, allocations: 176.6 kB / 16.57 MB, free: 6.395 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.148/1.148, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.594/0.594, allocations: 113.7 MB / 405.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002755, allocations: 9.062 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1106, allocations: 77.12 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.0009425/0.1116, allocations: 0.9511 MB / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.1123, allocations: 0.682 MB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.1124, allocations: 0 / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.1124, allocations: 4 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1125, allocations: 7.922 kB / 0.5583 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.366e-05/0.1126, allocations: 7.938 kB / 0.5583 GB, free: 10 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.517e-05/0.1126, allocations: 3.984 kB / 0.5583 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.1126, allocations: 8 kB / 0.5584 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.1127, allocations: 0 / 0.5584 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.1128, allocations: 4 kB / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.1128, allocations: 0 / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.1128, allocations: 4 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.1128, allocations: 11.97 kB / 0.5584 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1129, allocations: 25.7 kB / 0.5584 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.261e-05/0.1129, allocations: 4 kB / 0.5584 GB, free: 9.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.1129, allocations: 0 / 0.5584 GB, free: 9.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1129, allocations: 0 / 0.5584 GB, free: 9.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.654e-06/0.1129, allocations: 0 / 0.5584 GB, free: 9.934 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002286/0.1132, allocations: 321.4 kB / 0.5587 GB, free: 9.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1132, allocations: 15.97 kB / 0.5587 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.1132, allocations: 117.8 kB / 0.5588 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.1133, allocations: 75.28 kB / 0.5589 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1134, allocations: 238.3 kB / 0.5591 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.1135, allocations: 154.6 kB / 0.5593 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.1135, allocations: 150.6 kB / 0.5594 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.319e-05/0.1135, allocations: 104.9 kB / 0.5595 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1136, allocations: 79.28 kB / 0.5596 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.1136, allocations: 150.6 kB / 0.5597 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.1136, allocations: 154.6 kB / 0.5599 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.1137, allocations: 158.5 kB / 0.56 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1139, allocations: 441.9 kB / 0.5605 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.114, allocations: 173.1 kB / 0.5606 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.114, allocations: 75.28 kB / 0.5607 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.114, allocations: 109.8 kB / 0.5608 GB, free: 7.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.114, allocations: 0 / 0.5608 GB, free: 7.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.42e-05/0.1141, allocations: 41.48 kB / 0.5608 GB, free: 7.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1141, allocations: 134.6 kB / 0.561 GB, free: 7.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.1142, allocations: 105.8 kB / 0.5611 GB, free: 6.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.1142, allocations: 25.7 kB / 0.5611 GB, free: 6.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.1142, allocations: 80.14 kB / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-07/0.1143, allocations: 0 / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.1143, allocations: 0 / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.1143, allocations: 310.8 kB / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-06/0.1143, allocations: 0 / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.1144, allocations: 4 kB / 0.5615 GB, free: 6.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.1144, allocations: 79.31 kB / 0.5616 GB, free: 6.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.1144, allocations: 83.27 kB / 0.5616 GB, free: 6.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.438e-05/0.1145, allocations: 33.64 kB / 0.5617 GB, free: 6.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1145, allocations: 79.28 kB / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.1145, allocations: 75.28 kB / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.131e-05/0.1146, allocations: 162.5 kB / 0.562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.1146, allocations: 79.23 kB / 0.562 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/0.1146, allocations: 158.5 kB / 0.5622 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.1147, allocations: 83.2 kB / 0.5623 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1148, allocations: 79.44 kB / 0.5623 GB, free: 5.648 MB / 430.1 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 (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 prepare postOptimizeDAE: time 7.956e-05/0.1148, allocations: 264.3 kB / 0.5626 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.1149, allocations: 108.9 kB / 0.5627 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.1149, allocations: 112.1 kB / 0.5628 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/0.115, allocations: 180.2 kB / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.322e-05/0.115, allocations: 184.2 kB / 0.5632 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-05/0.1151, allocations: 184.3 kB / 0.5633 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1152, allocations: 401.2 kB / 0.5637 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.1153, allocations: 105 kB / 0.5638 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.1153, allocations: 105 kB / 0.5639 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.264e-05/0.1153, allocations: 184.2 kB / 0.5641 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1154, allocations: 176.3 kB / 0.5643 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.931e-05/0.1154, allocations: 180.2 kB / 0.5644 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.415e-05/0.1155, allocations: 184.2 kB / 0.5646 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.604e-05/0.1156, allocations: 315.7 kB / 0.5649 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.1156, allocations: 182.1 kB / 0.5651 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.1157, allocations: 180.2 kB / 0.5653 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.1158, allocations: 109 kB / 0.5654 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1158, allocations: 184.2 kB / 0.5655 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1158, allocations: 105 kB / 0.5656 GB, free: 2.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.1159, allocations: 83.27 kB / 0.5657 GB, free: 1.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1159, allocations: 0 / 0.5657 GB, free: 1.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1161, allocations: 7.953 kB / 0.5657 GB, free: 1.961 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 (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.0003166/0.1164, allocations: 0.8227 MB / 0.5665 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 2.568e-05/0.1165, allocations: 0 / 0.5665 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1165, allocations: 0 / 0.5665 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1165, allocations: 0 / 0.5665 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1167, allocations: 0.5185 MB / 0.567 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.1172, allocations: 0.5229 MB / 0.5675 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.1173, allocations: 0.677 MB / 0.5682 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.124e-05/0.1174, allocations: 0 / 0.5682 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1174, allocations: 11.44 kB / 0.5682 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1174, allocations: 4.062 kB / 0.5682 GB, free: 15.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9877/1.105, allocations: 0.9581 MB / 0.5692 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.105, allocations: 223.7 kB / 0.5694 GB, free: 14.33 MB / 446.1 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_GetTimeSpanTMY3LongHeader.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_GetTimeSpanTMY3LongHeader_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader_functions.o] Error 1