Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.353/2.353, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001234/0.001234, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.708/1.708, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.000946/0.0009462, allocations: 95.88 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.54e-05, allocations: 11.98 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3159, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.206, allocations: 150.1 MB / 1.365 GB, free: 3.883 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.206, allocations: 83.81 kB / 1.366 GB, free: 3.832 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005725/1.212, allocations: 2.121 MB / 1.368 GB, free: 2.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/1.212, allocations: 0 / 1.368 GB, free: 2.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.212, allocations: 0.625 kB / 1.368 GB, free: 2.27 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.000279/1.213, allocations: 330.5 kB / 1.368 GB, free: 1.902 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.213, allocations: 8.031 kB / 1.368 GB, free: 1.895 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/1.213, allocations: 109.3 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/1.213, allocations: 75.28 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/1.213, allocations: 243.1 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/1.213, allocations: 150.6 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/1.213, allocations: 159.4 kB / 1.369 GB, free: 1.125 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/1.213, allocations: 105 kB / 1.369 GB, free: 1.016 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/1.213, allocations: 75.28 kB / 1.369 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/1.213, allocations: 154.5 kB / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.565e-05/1.213, allocations: 150.6 kB / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/1.213, allocations: 154.1 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/1.214, allocations: 456.4 kB / 1.37 GB, free: 0 / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.214, allocations: 169.2 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/1.214, allocations: 80.14 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/1.214, allocations: 82.09 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/1.214, allocations: 114.5 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.214, allocations: 0 / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.246e-05/1.214, allocations: 33.55 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/1.214, allocations: 126.7 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.214, allocations: 104.5 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.214, allocations: 25.7 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/1.214, allocations: 84.14 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/1.214, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/1.214, allocations: 4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.214, allocations: 318.1 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/1.214, allocations: 4 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/1.215, allocations: 7.984 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/1.215, allocations: 4 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.215, allocations: 0 / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/1.215, allocations: 44.53 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.215, allocations: 7.984 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.215, allocations: 4.125 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.215, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/1.215, allocations: 7.938 kB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.215, allocations: 0 / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/1.215, allocations: 0 / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/1.215, allocations: 0 / 1.371 GB, free: 14.74 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.0001079/1.215, allocations: 184.9 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/1.215, allocations: 105 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/1.215, allocations: 123.5 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-05/1.215, allocations: 180.2 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.017e-05/1.215, allocations: 176.3 kB / 1.372 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.464e-05/1.215, allocations: 180.2 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.216, allocations: 408.2 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-05/1.216, allocations: 108.9 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/1.216, allocations: 105 kB / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.304e-05/1.216, allocations: 183.3 kB / 1.373 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/1.216, allocations: 180.2 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.607e-05/1.216, allocations: 176.3 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.565e-05/1.216, allocations: 184.2 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/1.216, allocations: 311.5 kB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/1.216, allocations: 186 kB / 1.373 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/1.216, allocations: 176.3 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/1.217, allocations: 112.2 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/1.217, allocations: 189.2 kB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/1.217, allocations: 101 kB / 1.374 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.037e-05/1.217, allocations: 91.03 kB / 1.374 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.217, allocations: 0 / 1.374 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002281/1.217, allocations: 7.984 kB / 1.374 GB, free: 11.15 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.0006106/1.218, allocations: 0.8218 MB / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.335e-05/1.218, allocations: 8 kB / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.218, allocations: 0 / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-06/1.218, allocations: 3.938 kB / 1.375 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/1.218, allocations: 0.5243 MB / 1.375 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/1.218, allocations: 159.1 kB / 1.376 GB, free: 9.578 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.219, allocations: 0.6848 MB / 1.376 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.788e-05/1.219, allocations: 0 / 1.376 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/1.219, allocations: 7.438 kB / 1.376 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.219, allocations: 0 / 1.376 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/1.234, allocations: 1.044 MB / 1.377 GB, free: 8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.235, allocations: 197.5 kB / 1.378 GB, free: 7.77 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.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_latest_Buildings_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/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_functions.o] Error 1