Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001093/0.001093, allocations: 173.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009399/0.0009398, allocations: 96.31 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 7 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4375, allocations: 149.4 MB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4378, allocations: 87.89 kB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006546/0.4444, allocations: 2.301 MB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4445, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4445, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 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.0004646/0.4449, allocations: 331.3 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.445, allocations: 8.031 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/0.4451, allocations: 105.8 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4452, allocations: 79.28 kB / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.4454, allocations: 246.3 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.4455, allocations: 154.6 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.4456, allocations: 154.6 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.4457, allocations: 101 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/0.4458, allocations: 83.22 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.4459, allocations: 150.6 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.068e-05/0.446, allocations: 154.6 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4461, allocations: 150.6 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.4465, allocations: 457.8 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.4466, allocations: 166.1 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.4466, allocations: 83.22 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/0.4467, allocations: 113.8 kB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.4467, allocations: 0 / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.16e-05/0.4468, allocations: 29.7 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.4469, allocations: 126.7 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.447, allocations: 104.9 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4471, allocations: 25.7 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.4471, allocations: 84.14 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.4471, allocations: 4 kB / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.4471, allocations: 0 / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4473, allocations: 318.8 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.4473, allocations: 4 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.4473, allocations: 7.938 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.4474, allocations: 8 kB / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4474, allocations: 3.938 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000134/0.4475, allocations: 45.78 kB / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4476, allocations: 4 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4476, allocations: 0 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4476, allocations: 0 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.4476, allocations: 0 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4476, allocations: 0 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.4477, allocations: 7.984 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4477, allocations: 0 / 1.374 GB, free: 6.699 MB / 0.8698 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.0001186/0.4478, allocations: 193.1 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.4479, allocations: 109 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.448, allocations: 116.3 kB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-05/0.4481, allocations: 180.2 kB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-05/0.4481, allocations: 180.2 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.63e-05/0.4482, allocations: 176.3 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.4484, allocations: 417.1 kB / 1.376 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/0.4485, allocations: 101 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.4485, allocations: 105.2 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.4486, allocations: 180.2 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.4487, allocations: 180.3 kB / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-05/0.4488, allocations: 188.2 kB / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.865e-05/0.4489, allocations: 184.3 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.449, allocations: 299.8 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.4491, allocations: 197.9 kB / 1.377 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.4492, allocations: 180.2 kB / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.4493, allocations: 109 kB / 1.377 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.4494, allocations: 184.2 kB / 1.377 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.4494, allocations: 101.8 kB / 1.378 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.4495, allocations: 87.27 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4495, allocations: 0 / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002147/0.4497, allocations: 4 kB / 1.378 GB, free: 3.074 MB / 0.8698 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.0005275/0.4502, allocations: 0.8258 MB / 1.378 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.4503, allocations: 8 kB / 1.378 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4503, allocations: 0 / 1.378 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.4503, allocations: 0 / 1.378 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4506, allocations: 0.5204 MB / 1.379 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.4512, allocations: 373.8 kB / 1.379 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.4516, allocations: 0.6848 MB / 1.38 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.4516, allocations: 11.92 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.4516, allocations: 11.44 kB / 1.38 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.4516, allocations: 0 / 1.38 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.4654, allocations: 1.039 MB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4656, allocations: 215.8 kB / 1.381 GB, free: 15.44 MB / 0.8855 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/Buildings 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_9_Buildings_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 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1