Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_NonzeroStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IDEAS_IDEAS_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.00869/0.00869, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7247/0.7247, allocations: 135.2 MB / 151 MB, free: 13.83 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.4/1.4, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.0009292/0.0009293, allocations: 102.8 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4256, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5866, allocations: 111.6 MB / 0.7585 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/0.587, allocations: 87.94 kB / 0.7586 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006592/0.5937, allocations: 2.514 MB / 0.761 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.646e-06/0.5937, allocations: 0 / 0.761 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5937, allocations: 0 / 0.761 GB, free: 1.805 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.0003593/0.5941, allocations: 339.3 kB / 0.7614 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5941, allocations: 8.031 kB / 0.7614 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.5942, allocations: 105.8 kB / 0.7615 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.5943, allocations: 75.28 kB / 0.7615 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.5944, allocations: 242.3 kB / 0.7618 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.5945, allocations: 158.6 kB / 0.7619 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.5946, allocations: 150.6 kB / 0.7621 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.5947, allocations: 104.9 kB / 0.7622 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.5947, allocations: 83.28 kB / 0.7622 GB, free: 468 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.5948, allocations: 150.6 kB / 0.7624 GB, free: 316 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.5949, allocations: 158.5 kB / 0.7625 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.5949, allocations: 150.6 kB / 0.7627 GB, free: 4 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.5952, allocations: 453.9 kB / 0.7631 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.5953, allocations: 173.1 kB / 0.7633 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.5954, allocations: 83.22 kB / 0.7634 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.5954, allocations: 109.8 kB / 0.7635 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.5954, allocations: 4 kB / 0.7635 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 8.42e-05/0.5955, allocations: 29.69 kB / 0.7635 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.5956, allocations: 126.7 kB / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.5957, allocations: 104.9 kB / 0.7637 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5958, allocations: 25.7 kB / 0.7637 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.5958, allocations: 84.14 kB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.5958, allocations: 0 / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.5958, allocations: 0 / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.596, allocations: 315.5 kB / 0.7641 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.596, allocations: 3.938 kB / 0.7641 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.596, allocations: 15.98 kB / 0.7641 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.596, allocations: 4 kB / 0.7641 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5961, allocations: 0 / 0.7641 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/0.5962, allocations: 53.72 kB / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5962, allocations: 4 kB / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5962, allocations: 0 / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5962, allocations: 0 / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.5962, allocations: 0 / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5963, allocations: 0 / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.5963, allocations: 4 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.5964, allocations: 0 / 0.7642 GB, free: 14.32 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 0.0001087/0.5965, allocations: 189.1 kB / 0.7644 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.5966, allocations: 116.9 kB / 0.7645 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.5966, allocations: 104.5 kB / 0.7646 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-05/0.5967, allocations: 188.2 kB / 0.7648 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.999e-05/0.5968, allocations: 176.3 kB / 0.7649 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-05/0.5968, allocations: 180.2 kB / 0.7651 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.5971, allocations: 409.2 kB / 0.7655 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-05/0.5971, allocations: 105 kB / 0.7656 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.5972, allocations: 104.9 kB / 0.7657 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.052e-05/0.5973, allocations: 184.2 kB / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.5973, allocations: 180.3 kB / 0.7661 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/0.5974, allocations: 180.2 kB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.35e-05/0.5975, allocations: 184.2 kB / 0.7664 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.5976, allocations: 313.4 kB / 0.7667 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/0.5977, allocations: 186 kB / 0.7669 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.5978, allocations: 192.1 kB / 0.7671 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.5979, allocations: 105.2 kB / 0.7672 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.598, allocations: 184.2 kB / 0.7673 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.598, allocations: 109 kB / 0.7674 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.5981, allocations: 87.27 kB / 0.7675 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5981, allocations: 0 / 0.7675 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002255/0.5983, allocations: 4 kB / 0.7675 GB, free: 10.69 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.0005225/0.5989, allocations: 0.8151 MB / 0.7683 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.5989, allocations: 4 kB / 0.7683 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.599, allocations: 4 kB / 0.7683 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.599, allocations: 0 / 0.7683 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.5993, allocations: 0.5264 MB / 0.7688 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.5998, allocations: 373.8 kB / 0.7692 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.6001, allocations: 0.677 MB / 0.7699 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.6001, allocations: 4 kB / 0.7699 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.6001, allocations: 11.44 kB / 0.7699 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of SimCode: time 4.7e-07/0.6001, allocations: 0 / 0.7699 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.613, allocations: 1.042 MB / 0.7709 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.6133, allocations: 215.9 kB / 0.7711 GB, free: 7.09 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_NonzeroStart.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.c:7: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o] Error 1