Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.422/2.422, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 176.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.756/1.756, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 87.97 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.498e-05/5.501e-05, allocations: 10.95 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3722, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.465, allocations: 150.3 MB / 1.366 GB, free: 3.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.465, allocations: 76.89 kB / 1.366 GB, free: 3.727 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006913/1.472, allocations: 2.329 MB / 1.368 GB, free: 1.969 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.264e-06/1.472, allocations: 0 / 1.368 GB, free: 1.969 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.472, allocations: 0 / 1.368 GB, free: 1.969 MB / 0.823 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.000382/1.472, allocations: 327 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/1.472, allocations: 8.031 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.198e-05/1.473, allocations: 113.8 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/1.473, allocations: 83.27 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/1.473, allocations: 243.1 kB / 1.369 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/1.473, allocations: 150.6 kB / 1.369 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/1.473, allocations: 154.6 kB / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/1.473, allocations: 104.4 kB / 1.369 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/1.473, allocations: 79.28 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/1.473, allocations: 150.6 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-05/1.473, allocations: 150.6 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/1.473, allocations: 154.5 kB / 1.37 GB, free: 192 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/1.474, allocations: 456.8 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/1.474, allocations: 168.2 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/1.474, allocations: 84.14 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/1.474, allocations: 79.97 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/1.474, allocations: 109.8 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 4.258e-06/1.474, allocations: 4 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.188e-05/1.474, allocations: 33.55 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/1.474, allocations: 126.7 kB / 1.371 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/1.474, allocations: 97.31 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/1.474, allocations: 25.7 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/1.474, allocations: 87.27 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/1.474, allocations: 0 / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/1.474, allocations: 0 / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.475, allocations: 326.7 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/1.475, allocations: 4 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/1.475, allocations: 11.19 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/1.475, allocations: 3.984 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.475, allocations: 7.938 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/1.475, allocations: 37.64 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.475, allocations: 5.406 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.475, allocations: 4 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.475, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/1.475, allocations: 4.125 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.475, allocations: 0 / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/1.475, allocations: 3.984 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/1.475, allocations: 4.25 kB / 1.371 GB, free: 14.43 MB / 0.8386 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.0001107/1.475, allocations: 180.2 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/1.475, allocations: 107.8 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/1.475, allocations: 116.4 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.93e-05/1.475, allocations: 188.2 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-05/1.475, allocations: 180.2 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.062e-05/1.475, allocations: 179.8 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/1.476, allocations: 405.2 kB / 1.372 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.674e-05/1.476, allocations: 112.2 kB / 1.373 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/1.476, allocations: 101 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.435e-05/1.476, allocations: 184.2 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-05/1.476, allocations: 176.3 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.099e-05/1.476, allocations: 184.2 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.679e-05/1.476, allocations: 180.2 kB / 1.373 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/1.477, allocations: 310.7 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.477, allocations: 189.3 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.477, allocations: 180.2 kB / 1.374 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/1.477, allocations: 109 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.477, allocations: 177.2 kB / 1.374 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/1.477, allocations: 108.9 kB / 1.374 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.883e-05/1.477, allocations: 90.33 kB / 1.374 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.477, allocations: 0 / 1.374 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002687/1.477, allocations: 4 kB / 1.374 GB, free: 10.84 MB / 0.8386 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.0006208/1.478, allocations: 0.8167 MB / 1.375 GB, free: 10 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/1.478, allocations: 7.938 kB / 1.375 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.478, allocations: 0 / 1.375 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.478, allocations: 0 / 1.375 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/1.478, allocations: 0.5255 MB / 1.376 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/1.479, allocations: 167.7 kB / 1.376 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.479, allocations: 0.677 MB / 1.377 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.907e-05/1.479, allocations: 0 / 1.377 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/1.479, allocations: 11.44 kB / 1.377 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.479, allocations: 0 / 1.377 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/1.492, allocations: 1.095 MB / 1.378 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.493, allocations: 207.9 kB / 1.378 GB, free: 7.445 MB / 0.8386 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/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: *** [: Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1