Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.151/2.151, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 178.8 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.431/2.431, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 85.41 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004837, allocations: 11.28 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2379, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.661/7.899, allocations: 2.189 GB / 3.088 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/7.899, allocations: 90.8 kB / 3.088 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1222/8.022, allocations: 27.81 MB / 3.115 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.526e-06/8.022, allocations: 0 / 3.115 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.049e-05/8.022, allocations: 27.44 kB / 3.116 GB, free: 246.2 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002448/8.024, allocations: 1.027 MB / 3.117 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/8.024, allocations: 7.812 kB / 3.117 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/8.025, allocations: 110.7 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/8.025, allocations: 97.86 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/8.026, allocations: 0.5613 MB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/8.026, allocations: 51.19 kB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/8.026, allocations: 53.91 kB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/8.028, allocations: 0.6894 MB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/8.028, allocations: 3.906 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/8.028, allocations: 26.45 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/8.028, allocations: 15.69 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/8.03, allocations: 0.914 MB / 3.119 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/8.035, allocations: 2.356 MB / 3.121 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/8.036, allocations: 0.5996 MB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/8.036, allocations: 26.58 kB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007556/8.037, allocations: 354.3 kB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.476e-06/8.037, allocations: 0 / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001957/8.039, allocations: 0.7104 MB / 3.123 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/8.039, allocations: 295 kB / 3.123 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/8.04, allocations: 0.5784 MB / 3.124 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/8.04, allocations: 39.98 kB / 3.124 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/8.041, allocations: 320.1 kB / 3.124 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/8.041, allocations: 209.6 kB / 3.124 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/8.041, allocations: 7.312 kB / 3.124 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001309/8.041, allocations: 378.4 kB / 3.125 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/8.042, allocations: 166.5 kB / 3.125 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/8.042, allocations: 292.1 kB / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/8.043, allocations: 216.1 kB / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/8.043, allocations: 0 / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001418/8.044, allocations: 0.5468 MB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/8.044, allocations: 6.031 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/8.044, allocations: 5.438 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/8.044, allocations: 5.375 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/8.045, allocations: 110.1 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/8.045, allocations: 7.891 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/8.046, allocations: 77 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/8.046, allocations: 22.67 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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 prepare postOptimizeDAE: time 0.0005782/8.047, allocations: 236.1 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/8.047, allocations: 70.31 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/8.049, allocations: 0.7664 MB / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/8.049, allocations: 7.812 kB / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/8.049, allocations: 112 / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/8.049, allocations: 10.94 kB / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/8.051, allocations: 0.9317 MB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/8.051, allocations: 0 / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/8.052, allocations: 118.8 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/8.052, allocations: 3.906 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/8.052, allocations: 21.98 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/8.052, allocations: 11.28 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/8.052, allocations: 0 / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/8.053, allocations: 0.6403 MB / 3.129 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/8.054, allocations: 265.7 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/8.054, allocations: 19.55 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/8.055, allocations: 56.64 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/8.055, allocations: 45.25 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/8.055, allocations: 28.3 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008947/8.056, allocations: 475.9 kB / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/8.056, allocations: 0 / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001157/8.057, allocations: 253.7 kB / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003313/8.06, allocations: 1.742 MB / 3.132 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001393/8.062, allocations: 474.1 kB / 3.132 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/8.062, allocations: 4.062 kB / 3.132 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005972/8.062, allocations: 281.2 kB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/8.064, allocations: 207.7 kB / 3.133 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009809/8.074, allocations: 4.529 MB / 3.137 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/8.075, allocations: 0.9658 MB / 3.138 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001348/8.076, allocations: 246 kB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/8.077, allocations: 294.3 kB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/8.077, allocations: 4 kB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/8.142, allocations: 16.9 MB / 3.155 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/8.142, allocations: 253.8 kB / 3.155 GB, free: 235.8 MB / 0.8855 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o] Error 1