Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.734/2.734, allocations: 287.3 MB / 302.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 93.08 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007459/0.0007459, allocations: 17.12 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2504, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9052/1.156, allocations: 138.1 MB / 1.113 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.156, allocations: 89.42 kB / 1.113 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009811/1.166, allocations: 2.472 MB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.166, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.166, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 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.0003598/1.166, allocations: 331 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.166, allocations: 15.55 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/1.166, allocations: 109.8 kB / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/1.167, allocations: 79.19 kB / 1.116 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/1.167, allocations: 243.7 kB / 1.116 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/1.167, allocations: 150.6 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/1.167, allocations: 152.1 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/1.167, allocations: 108.5 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/1.167, allocations: 79.28 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/1.167, allocations: 154.4 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/1.167, allocations: 154.5 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/1.167, allocations: 150.6 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/1.167, allocations: 454 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/1.168, allocations: 177.1 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/1.168, allocations: 78.47 kB / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.168, allocations: 105.8 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.976e-06/1.168, allocations: 0 / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.165e-05/1.168, allocations: 31.3 kB / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/1.168, allocations: 130.7 kB / 1.118 GB, free: 28.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/1.168, allocations: 99.72 kB / 1.118 GB, free: 28.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/1.168, allocations: 37.25 kB / 1.118 GB, free: 28.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/1.168, allocations: 80.14 kB / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.168, allocations: 0 / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/1.168, allocations: 0 / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.168, allocations: 320.1 kB / 1.119 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/1.168, allocations: 0 / 1.119 GB, free: 28.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/1.168, allocations: 16.02 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/1.168, allocations: 3.938 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.168, allocations: 3.953 kB / 1.119 GB, free: 28.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001344/1.169, allocations: 43.08 kB / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.169, allocations: 3.844 kB / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.169, allocations: 0 / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.169, allocations: 0 / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/1.169, allocations: 0.875 kB / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.169, allocations: 3.781 kB / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/1.169, allocations: 4.031 kB / 1.119 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.169, allocations: 7.141 kB / 1.119 GB, free: 28.03 MB / 0.698 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.0001237/1.169, allocations: 189 kB / 1.119 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/1.169, allocations: 104.9 kB / 1.119 GB, free: 27.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.123e-05/1.169, allocations: 114.3 kB / 1.119 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/1.169, allocations: 180.9 kB / 1.119 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-05/1.169, allocations: 180.5 kB / 1.12 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.901e-05/1.169, allocations: 180.2 kB / 1.12 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/1.17, allocations: 411.3 kB / 1.12 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/1.17, allocations: 107.7 kB / 1.12 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/1.17, allocations: 108.9 kB / 1.12 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.809e-05/1.17, allocations: 179.3 kB / 1.12 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/1.17, allocations: 184.2 kB / 1.121 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.806e-05/1.17, allocations: 182.8 kB / 1.121 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-05/1.17, allocations: 176.3 kB / 1.121 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/1.17, allocations: 307.6 kB / 1.121 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/1.17, allocations: 186 kB / 1.121 GB, free: 25.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/1.17, allocations: 188 kB / 1.122 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/1.17, allocations: 107 kB / 1.122 GB, free: 24.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/1.171, allocations: 180.2 kB / 1.122 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/1.171, allocations: 101 kB / 1.122 GB, free: 24.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.118e-05/1.171, allocations: 93.39 kB / 1.122 GB, free: 24.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.171, allocations: 0 / 1.122 GB, free: 24.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000302/1.171, allocations: 7.844 kB / 1.122 GB, free: 24.5 MB / 0.698 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.0005585/1.172, allocations: 0.8161 MB / 1.123 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/1.172, allocations: 7.938 kB / 1.123 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.172, allocations: 0 / 1.123 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/1.172, allocations: 7.844 kB / 1.123 GB, free: 23.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/1.172, allocations: 0.5246 MB / 1.123 GB, free: 23.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/1.173, allocations: 375.5 kB / 1.124 GB, free: 22.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/1.173, allocations: 0.6796 MB / 1.124 GB, free: 22.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.669e-05/1.173, allocations: 0 / 1.124 GB, free: 22.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/1.173, allocations: 11.31 kB / 1.124 GB, free: 22.05 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.173, allocations: 0 / 1.124 GB, free: 22.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2037/1.377, allocations: 1.07 MB / 1.126 GB, free: 21.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/1.377, allocations: 232.2 kB / 1.126 GB, free: 21.69 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_8_0_0_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 -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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1