Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_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.005738/0.005738, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7494/0.7494, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 98.42 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3456, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4863, allocations: 111.4 MB / 0.7584 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4866, allocations: 79.95 kB / 0.7584 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005649/0.4922, allocations: 2.305 MB / 0.7607 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4923, allocations: 0 / 0.7607 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4923, allocations: 4 kB / 0.7607 GB, free: 2.133 MB / 0.5261 GB 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.0002945/0.4926, allocations: 327.3 kB / 0.761 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4926, allocations: 12.03 kB / 0.761 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.4927, allocations: 105.8 kB / 0.7611 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.4928, allocations: 75.28 kB / 0.7612 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4929, allocations: 250.2 kB / 0.7614 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.493, allocations: 154.6 kB / 0.7616 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.493, allocations: 150.6 kB / 0.7617 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.625e-05/0.4931, allocations: 101 kB / 0.7618 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.4931, allocations: 75.28 kB / 0.7619 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.4932, allocations: 154.5 kB / 0.762 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.4933, allocations: 158.6 kB / 0.7622 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.4933, allocations: 150.6 kB / 0.7623 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.4936, allocations: 461.8 kB / 0.7628 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.4937, allocations: 165.1 kB / 0.7629 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4937, allocations: 87.22 kB / 0.763 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4938, allocations: 105.8 kB / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4938, allocations: 0 / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.986e-05/0.4939, allocations: 33.64 kB / 0.7631 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.4939, allocations: 126.7 kB / 0.7633 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.494, allocations: 112.9 kB / 0.7634 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4941, allocations: 29.7 kB / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.4941, allocations: 80.14 kB / 0.7635 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.4941, allocations: 0 / 0.7635 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.4941, allocations: 0 / 0.7635 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4942, allocations: 311.5 kB / 0.7638 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.4943, allocations: 4 kB / 0.7638 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.4943, allocations: 15.98 kB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/0.4943, allocations: 4 kB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4943, allocations: 0 / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001344/0.4945, allocations: 53.66 kB / 0.7638 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4945, allocations: 9.094 kB / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4945, allocations: 3.938 kB / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.4945, allocations: 0 / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.4945, allocations: 0 / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4945, allocations: 0 / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.4946, allocations: 0 / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.4946, allocations: 4 kB / 0.7639 GB, free: 14.65 MB / 0.5417 GB 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 9.011e-05/0.4947, allocations: 193.1 kB / 0.764 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.4948, allocations: 108.9 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.4948, allocations: 108.5 kB / 0.7642 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-05/0.4949, allocations: 180.3 kB / 0.7644 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-05/0.495, allocations: 184.2 kB / 0.7646 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-05/0.495, allocations: 180.2 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4952, allocations: 409.2 kB / 0.7652 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.4953, allocations: 104.9 kB / 0.7653 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.4953, allocations: 101 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-05/0.4954, allocations: 184.2 kB / 0.7655 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.4955, allocations: 184.2 kB / 0.7657 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.842e-05/0.4955, allocations: 180.3 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-05/0.4956, allocations: 184.2 kB / 0.766 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.4957, allocations: 305.5 kB / 0.7663 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.4958, allocations: 189.9 kB / 0.7665 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.4959, allocations: 184.2 kB / 0.7667 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.496, allocations: 108.9 kB / 0.7668 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.4961, allocations: 176.3 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.4961, allocations: 109 kB / 0.7671 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.4962, allocations: 91.45 kB / 0.7672 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4962, allocations: 0 / 0.7672 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000222/0.4964, allocations: 4 kB / 0.7672 GB, free: 11.03 MB / 0.5417 GB 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.0004684/0.4969, allocations: 0.8152 MB / 0.768 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.767e-05/0.4969, allocations: 4 kB / 0.768 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.497, allocations: 0 / 0.768 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.497, allocations: 3.938 kB / 0.768 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4972, allocations: 0.5303 MB / 0.7685 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.4977, allocations: 365.9 kB / 0.7688 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.498, allocations: 0.6887 MB / 0.7695 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.498, allocations: 0 / 0.7695 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.498, allocations: 7.438 kB / 0.7695 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.498, allocations: 0 / 0.7695 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.5112, allocations: 1.049 MB / 0.7705 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.5114, allocations: 201.5 kB / 0.7707 GB, free: 7.418 MB / 0.5417 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/IDEAS 3.0.0-master/Resources/C-Sources" -c -o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IDEAS_dev_IDEAS_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/IDEAS 3.0.0-master/Resources/C-Sources" -c -o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: *** [: IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1