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.272/2.272, allocations: 393.5 MB / 408.4 MB, free: 10.85 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.001397/0.001397, allocations: 179.2 kB / 0.4901 GB, free: 2.102 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.54/1.54, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0008875/0.0008874, allocations: 107 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 9.812 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.4499, allocations: 150.3 MB / 1.376 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.4502, allocations: 79.95 kB / 1.376 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.006889/0.4571, allocations: 2.503 MB / 1.379 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4572, allocations: 0 / 1.379 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4572, allocations: 0 / 1.379 GB, free: 12.3 MB / 0.8855 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.0002983/0.4575, allocations: 340.3 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4575, allocations: 8.562 kB / 1.379 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.4576, allocations: 105.8 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.4577, allocations: 83.28 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4578, allocations: 246.3 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.4579, allocations: 154.5 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.458, allocations: 154.6 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.966e-05/0.4581, allocations: 101.1 kB / 1.38 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.4581, allocations: 75.28 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.4582, allocations: 162.6 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.4582, allocations: 150.6 kB / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.4583, allocations: 150.6 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.4586, allocations: 461.8 kB / 1.381 GB, free: 10 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.4587, allocations: 173.1 kB / 1.381 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.4587, allocations: 75.28 kB / 1.381 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.4587, allocations: 105.8 kB / 1.381 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4587, allocations: 0 / 1.381 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 6.628e-05/0.4588, allocations: 29.64 kB / 1.381 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.4589, allocations: 134.7 kB / 1.381 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.459, allocations: 96.98 kB / 1.381 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.459, allocations: 25.7 kB / 1.381 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.4591, allocations: 88.14 kB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.4591, allocations: 0 / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/0.4591, allocations: 0 / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4592, allocations: 318.8 kB / 1.382 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.4592, allocations: 7.938 kB / 1.382 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.4592, allocations: 4 kB / 1.382 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.4593, allocations: 8.094 kB / 1.382 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4593, allocations: 3.938 kB / 1.382 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.4594, allocations: 49.59 kB / 1.382 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4594, allocations: 4 kB / 1.382 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4594, allocations: 3.938 kB / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.4594, allocations: 0 / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.4594, allocations: 4 kB / 1.382 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.4595, allocations: 0 / 1.382 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.4595, allocations: 3.984 kB / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.4595, allocations: 4.031 kB / 1.382 GB, free: 8.812 MB / 0.8855 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 9.803e-05/0.4596, allocations: 189.1 kB / 1.382 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.4597, allocations: 101 kB / 1.382 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.4598, allocations: 120.2 kB / 1.382 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/0.4598, allocations: 180.2 kB / 1.382 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/0.4599, allocations: 176.3 kB / 1.383 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-05/0.46, allocations: 184.2 kB / 1.383 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4602, allocations: 409.2 kB / 1.383 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/0.4602, allocations: 104.9 kB / 1.383 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.4603, allocations: 105 kB / 1.383 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.949e-05/0.4603, allocations: 176.3 kB / 1.383 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.4604, allocations: 184.2 kB / 1.384 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.289e-05/0.4605, allocations: 180.2 kB / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.234e-05/0.4605, allocations: 192.2 kB / 1.384 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.4607, allocations: 300.1 kB / 1.384 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.4608, allocations: 190 kB / 1.384 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.4609, allocations: 188.3 kB / 1.385 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.4609, allocations: 108.9 kB / 1.385 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.461, allocations: 176.3 kB / 1.385 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.4611, allocations: 101.3 kB / 1.385 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.4611, allocations: 87.27 kB / 1.385 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4611, allocations: 3.938 kB / 1.385 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002247/0.4614, allocations: 11.98 kB / 1.385 GB, free: 5.199 MB / 0.8855 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.0004882/0.4619, allocations: 0.8284 MB / 1.386 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.617e-05/0.462, allocations: 4 kB / 1.386 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.462, allocations: 4.062 kB / 1.386 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.462, allocations: 7.875 kB / 1.386 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.4623, allocations: 0.5224 MB / 1.386 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.4627, allocations: 369.9 kB / 1.387 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.463, allocations: 0.6809 MB / 1.387 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.463, allocations: 3.984 kB / 1.387 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.463, allocations: 7.438 kB / 1.387 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.463, allocations: 0 / 1.387 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.4758, allocations: 1.063 MB / 1.388 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.4761, allocations: 240.8 kB / 1.389 GB, free: 1.578 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 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: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 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: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_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