Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_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.008153/0.008153, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8763/0.8763, 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.418/1.418, 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.000951/0.000951, allocations: 102 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3869, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.5103, allocations: 111.4 MB / 0.7584 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.5106, allocations: 91.92 kB / 0.7584 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004945/0.5155, allocations: 2.293 MB / 0.7607 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5156, allocations: 4 kB / 0.7607 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5156, allocations: 0 / 0.7607 GB, free: 2.117 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.000236/0.5158, allocations: 331.3 kB / 0.761 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.5159, allocations: 8.031 kB / 0.761 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.5159, allocations: 105.8 kB / 0.7611 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.516, allocations: 75.28 kB / 0.7612 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.5161, allocations: 258.2 kB / 0.7614 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.5161, allocations: 154.6 kB / 0.7616 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.5162, allocations: 154.5 kB / 0.7617 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.686e-05/0.5162, allocations: 101 kB / 0.7618 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5163, allocations: 79.28 kB / 0.7619 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5163, allocations: 150.6 kB / 0.762 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.5163, allocations: 150.6 kB / 0.7622 GB, free: 484 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.5164, allocations: 154.6 kB / 0.7623 GB, free: 328 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.5166, allocations: 457.8 kB / 0.7628 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.5167, allocations: 169.1 kB / 0.7629 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.5167, allocations: 75.28 kB / 0.763 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5168, allocations: 113.8 kB / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5168, allocations: 0 / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.174e-05/0.5168, allocations: 37.62 kB / 0.7631 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5169, allocations: 126.7 kB / 0.7633 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.517, allocations: 104.9 kB / 0.7634 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.517, allocations: 25.7 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.517, allocations: 84.12 kB / 0.7635 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.517, allocations: 4 kB / 0.7635 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.517, allocations: 0 / 0.7635 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.5171, allocations: 319.5 kB / 0.7638 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.5171, allocations: 0 / 0.7638 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.5172, allocations: 8 kB / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.666e-05/0.5172, allocations: 7.984 kB / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5172, allocations: 0 / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.317e-05/0.5173, allocations: 45.59 kB / 0.7638 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.5173, allocations: 9.219 kB / 0.7638 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5173, allocations: 3.938 kB / 0.7638 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.5173, allocations: 0 / 0.7638 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.5174, allocations: 0 / 0.7638 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5174, allocations: 3.984 kB / 0.7638 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.5174, allocations: 4 kB / 0.7639 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5174, allocations: 0 / 0.7639 GB, free: 14.64 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 8.131e-05/0.5175, allocations: 189.1 kB / 0.764 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.5176, allocations: 108.9 kB / 0.7641 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.5176, allocations: 112.4 kB / 0.7642 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.792e-05/0.5177, allocations: 184.3 kB / 0.7644 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-05/0.5177, allocations: 176.3 kB / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-05/0.5178, allocations: 184.2 kB / 0.7648 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.518, allocations: 401.2 kB / 0.7651 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.518, allocations: 109.2 kB / 0.7653 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.518, allocations: 109 kB / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.702e-05/0.5181, allocations: 188.2 kB / 0.7655 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.5181, allocations: 180.2 kB / 0.7657 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.336e-05/0.5182, allocations: 176.3 kB / 0.7659 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.803e-05/0.5182, allocations: 184.2 kB / 0.7661 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.5183, allocations: 305.5 kB / 0.7663 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.5184, allocations: 193.9 kB / 0.7665 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.5185, allocations: 180.2 kB / 0.7667 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.5185, allocations: 104.9 kB / 0.7668 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.5186, allocations: 188.2 kB / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.5186, allocations: 109 kB / 0.7671 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.5187, allocations: 83.22 kB / 0.7672 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5187, allocations: 0 / 0.7672 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002023/0.5189, allocations: 4 kB / 0.7672 GB, free: 11.02 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.0003579/0.5192, allocations: 0.8088 MB / 0.768 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.168e-05/0.5193, allocations: 7.984 kB / 0.768 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5193, allocations: 0 / 0.768 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.5193, allocations: 3.938 kB / 0.768 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.5196, allocations: 0.5365 MB / 0.7685 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.5199, allocations: 369.9 kB / 0.7688 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5201, allocations: 0.6809 MB / 0.7695 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.5202, allocations: 4 kB / 0.7695 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.5202, allocations: 7.438 kB / 0.7695 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.5202, allocations: 0 / 0.7695 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/0.684, allocations: 1.042 MB / 0.7705 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.6842, allocations: 194.7 kB / 0.7707 GB, free: 7.398 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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1