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.001891/0.001891, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.215/1.215, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.709/2.709, allocations: 221.3 MB / 400.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 97.42 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.311e-05/7.374e-05, allocations: 3.938 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2735, allocations: 82.32 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.411, allocations: 111.4 MB / 0.7493 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004656/1.412, allocations: 85.53 kB / 0.7494 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008876/1.421, allocations: 2.113 MB / 0.7514 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.665e-06/1.421, allocations: 0 / 0.7514 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.421, allocations: 0 / 0.7514 GB, free: 27.6 MB / 0.5105 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.0004119/1.421, allocations: 322 kB / 0.7517 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/1.421, allocations: 14.78 kB / 0.7517 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/1.421, allocations: 105.8 kB / 0.7518 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.422, allocations: 86.5 kB / 0.7519 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/1.422, allocations: 242.2 kB / 0.7522 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/1.422, allocations: 154.2 kB / 0.7523 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.422, allocations: 154.4 kB / 0.7524 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/1.422, allocations: 105 kB / 0.7525 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/1.422, allocations: 75.28 kB / 0.7526 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/1.422, allocations: 151.9 kB / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.692e-05/1.422, allocations: 153.9 kB / 0.7529 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/1.422, allocations: 154.5 kB / 0.7531 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/1.423, allocations: 464.2 kB / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/1.423, allocations: 165.1 kB / 0.7537 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/1.423, allocations: 87.73 kB / 0.7537 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/1.423, allocations: 75.28 kB / 0.7538 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.086e-05/1.423, allocations: 106.5 kB / 0.7539 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.414e-06/1.423, allocations: 4 kB / 0.7539 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001275/1.423, allocations: 33.48 kB / 0.7539 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.424, allocations: 130.1 kB / 0.7541 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.424, allocations: 106.1 kB / 0.7542 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/1.424, allocations: 25.7 kB / 0.7542 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/1.424, allocations: 80.14 kB / 0.7543 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/1.424, allocations: 0 / 0.7543 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.424, allocations: 0 / 0.7543 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.424, allocations: 317.8 kB / 0.7546 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/1.424, allocations: 3.812 kB / 0.7546 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/1.424, allocations: 11.19 kB / 0.7546 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/1.424, allocations: 6.5 kB / 0.7546 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.424, allocations: 3.953 kB / 0.7546 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/1.425, allocations: 43.92 kB / 0.7546 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.425, allocations: 4.938 kB / 0.7546 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.425, allocations: 0 / 0.7546 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.425, allocations: 4.125 kB / 0.7547 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/1.425, allocations: 0 / 0.7547 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.425, allocations: 0 / 0.7547 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.425, allocations: 7.688 kB / 0.7547 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.425, allocations: 2.578 kB / 0.7547 GB, free: 24.17 MB / 0.5105 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 () * 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.0001795/1.425, allocations: 180.1 kB / 0.7548 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/1.425, allocations: 108.9 kB / 0.7549 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/1.425, allocations: 114.8 kB / 0.755 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/1.425, allocations: 184.1 kB / 0.7552 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001117/1.425, allocations: 180.2 kB / 0.7554 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/1.426, allocations: 176.3 kB / 0.7556 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/1.426, allocations: 403.9 kB / 0.7559 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.147e-05/1.426, allocations: 107.5 kB / 0.7561 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/1.426, allocations: 112.9 kB / 0.7562 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/1.426, allocations: 187.7 kB / 0.7563 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.426, allocations: 180.2 kB / 0.7565 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001222/1.427, allocations: 179.4 kB / 0.7567 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000114/1.427, allocations: 184 kB / 0.7569 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/1.427, allocations: 307.2 kB / 0.7571 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/1.427, allocations: 180.9 kB / 0.7573 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.427, allocations: 180.2 kB / 0.7575 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.427, allocations: 111.9 kB / 0.7576 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.428, allocations: 184.7 kB / 0.7578 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/1.428, allocations: 112.9 kB / 0.7579 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.533e-05/1.428, allocations: 86.28 kB / 0.758 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/1.428, allocations: 0 / 0.758 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003985/1.428, allocations: 3.812 kB / 0.758 GB, free: 20.64 MB / 0.5105 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 () * 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.0008142/1.429, allocations: 0.8131 MB / 0.7588 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001126/1.429, allocations: 15.44 kB / 0.7588 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.429, allocations: 0 / 0.7588 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/1.429, allocations: 0 / 0.7588 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/1.43, allocations: 0.5244 MB / 0.7593 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/1.43, allocations: 164.1 kB / 0.7594 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/1.431, allocations: 0.676 MB / 0.7601 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.952e-05/1.431, allocations: 0 / 0.7601 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/1.431, allocations: 13.91 kB / 0.7601 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/1.431, allocations: 0 / 0.7601 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/1.455, allocations: 1.04 MB / 0.7611 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.455, allocations: 186.5 kB / 0.7613 GB, free: 18.05 MB / 0.5105 GB 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/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: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/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: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 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