Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001196/0.001196, allocations: 180.3 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009709/0.000971, allocations: 87.84 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.199e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3789, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.698/7.077, allocations: 2.072 GB / 3.052 GB, free: 124 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/7.078, allocations: 84.38 kB / 3.052 GB, free: 124 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08994/7.167, allocations: 27.55 MB / 3.079 GB, free: 101 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.033e-06/7.167, allocations: 0 / 3.079 GB, free: 101 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.84e-05/7.168, allocations: 27.92 kB / 3.079 GB, free: 101 MB / 0.948 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.001307/7.169, allocations: 0.9188 MB / 3.08 GB, free: 100.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/7.169, allocations: 8.031 kB / 3.08 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/7.169, allocations: 102.8 kB / 3.08 GB, free: 99.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/7.169, allocations: 100.6 kB / 3.08 GB, free: 99.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/7.17, allocations: 0.5666 MB / 3.081 GB, free: 99.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/7.17, allocations: 50.27 kB / 3.081 GB, free: 99.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/7.17, allocations: 58.31 kB / 3.081 GB, free: 99.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/7.171, allocations: 0.674 MB / 3.082 GB, free: 98.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/7.171, allocations: 7.984 kB / 3.082 GB, free: 98.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/7.172, allocations: 26.12 kB / 3.082 GB, free: 98.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/7.172, allocations: 16 kB / 3.082 GB, free: 98.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/7.173, allocations: 0.9014 MB / 3.083 GB, free: 98.03 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/7.176, allocations: 2.345 MB / 3.085 GB, free: 96.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/7.177, allocations: 0.5933 MB / 3.085 GB, free: 95.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/7.177, allocations: 220.5 kB / 3.086 GB, free: 95.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/7.177, allocations: 24.3 kB / 3.086 GB, free: 95.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/7.177, allocations: 349.1 kB / 3.086 GB, free: 95.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.297e-06/7.177, allocations: 3.984 kB / 3.086 GB, free: 95.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.0008023/7.178, allocations: 0.5278 MB / 3.087 GB, free: 94.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/7.178, allocations: 299.2 kB / 3.087 GB, free: 94.42 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/7.179, allocations: 0.5678 MB / 3.087 GB, free: 93.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/7.179, allocations: 37.39 kB / 3.087 GB, free: 93.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/7.179, allocations: 338.5 kB / 3.088 GB, free: 93.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/7.179, allocations: 195.2 kB / 3.088 GB, free: 93.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/7.179, allocations: 11.06 kB / 3.088 GB, free: 93.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/7.179, allocations: 372.4 kB / 3.088 GB, free: 93.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/7.18, allocations: 167.3 kB / 3.088 GB, free: 93.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/7.18, allocations: 284.7 kB / 3.089 GB, free: 92.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/7.18, allocations: 207.6 kB / 3.089 GB, free: 92.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/7.18, allocations: 4 kB / 3.089 GB, free: 92.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006977/7.181, allocations: 0.5361 MB / 3.089 GB, free: 92.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/7.181, allocations: 8 kB / 3.089 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/7.181, allocations: 0.75 kB / 3.089 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/7.181, allocations: 4 kB / 3.089 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/7.181, allocations: 115.8 kB / 3.09 GB, free: 92.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/7.181, allocations: 4 kB / 3.09 GB, free: 92.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/7.182, allocations: 90.67 kB / 3.09 GB, free: 92.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/7.182, allocations: 23.86 kB / 3.09 GB, free: 92.09 MB / 0.948 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 () * 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.0001138/7.182, allocations: 132.1 kB / 3.09 GB, free: 91.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/7.182, allocations: 71.16 kB / 3.09 GB, free: 91.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/7.183, allocations: 0.7645 MB / 3.091 GB, free: 91.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/7.183, allocations: 8 kB / 3.091 GB, free: 91.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/7.183, allocations: 0 / 3.091 GB, free: 91.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/7.183, allocations: 3.984 kB / 3.091 GB, free: 91.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/7.184, allocations: 0.9319 MB / 3.092 GB, free: 90.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/7.184, allocations: 4.031 kB / 3.092 GB, free: 90.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/7.185, allocations: 116.3 kB / 3.092 GB, free: 90.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/7.185, allocations: 4 kB / 3.092 GB, free: 90.44 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/7.185, allocations: 23.36 kB / 3.092 GB, free: 90.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/7.185, allocations: 0 / 3.092 GB, free: 90.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.185, allocations: 11.89 kB / 3.092 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/7.185, allocations: 0.6383 MB / 3.092 GB, free: 89.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/7.186, allocations: 267.4 kB / 3.093 GB, free: 89.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/7.186, allocations: 15.5 kB / 3.093 GB, free: 89.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/7.186, allocations: 56.88 kB / 3.093 GB, free: 89.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/7.186, allocations: 64.12 kB / 3.093 GB, free: 89.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/7.186, allocations: 23.8 kB / 3.093 GB, free: 89.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004404/7.187, allocations: 464.5 kB / 3.093 GB, free: 89.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.187, allocations: 0 / 3.093 GB, free: 89.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006511/7.187, allocations: 251.5 kB / 3.093 GB, free: 89 MB / 0.948 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) * 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.001985/7.189, allocations: 1.682 MB / 3.095 GB, free: 87.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006069/7.19, allocations: 475.9 kB / 3.096 GB, free: 87.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/7.19, allocations: 0 / 3.096 GB, free: 87.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/7.19, allocations: 280.4 kB / 3.096 GB, free: 86.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/7.191, allocations: 218.2 kB / 3.096 GB, free: 86.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/7.193, allocations: 1.175 MB / 3.097 GB, free: 85.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/7.193, allocations: 0.964 MB / 3.098 GB, free: 84.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006054/7.194, allocations: 242.4 kB / 3.098 GB, free: 84.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/7.194, allocations: 295.3 kB / 3.099 GB, free: 83.97 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/7.194, allocations: 0 / 3.099 GB, free: 83.97 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/7.225, allocations: 16.83 MB / 3.115 GB, free: 67.32 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/7.225, allocations: 209.8 kB / 3.115 GB, free: 67.1 MB / 0.948 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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o] Error 1