Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.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.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400",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.768/2.768, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001615/0.001615, allocations: 179.8 kB / 370.8 MB, free: 10.85 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.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001159/0.001158, allocations: 86.81 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004862, allocations: 11.12 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.791/7.029, allocations: 2.094 GB / 3.073 GB, free: 179.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/7.03, allocations: 96.72 kB / 3.073 GB, free: 179.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.29/9.32, allocations: 386.8 MB / 3.451 GB, free: 176.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/9.32, allocations: 4 kB / 3.451 GB, free: 176.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005133/9.32, allocations: 159.9 kB / 3.451 GB, free: 176 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: 1967 * Number of variables: 1967 Notification: Performance of Generate backend data structure: time 0.02665/9.347, allocations: 6.623 MB / 3.457 GB, free: 169.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/9.347, allocations: 12.02 kB / 3.457 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004274/9.351, allocations: 0.9849 MB / 3.458 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07395/9.425, allocations: 5.994 MB / 3.464 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/9.437, allocations: 3.622 MB / 3.468 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006937/9.438, allocations: 0.5541 MB / 3.468 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003975/9.442, allocations: 0.7227 MB / 3.469 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05535/9.497, allocations: 11.26 MB / 3.48 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/9.497, allocations: 0 / 3.48 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003439/9.501, allocations: 320 kB / 3.48 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/9.501, allocations: 187.1 kB / 3.48 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07687/9.578, allocations: 14.34 MB / 3.494 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09256/9.671, allocations: 26.17 MB / 3.52 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06146/9.732, allocations: 9.93 MB / 3.53 GB, free: 94.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/9.735, allocations: 0.6789 MB / 3.53 GB, free: 94.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02955/9.764, allocations: 5.715 MB / 3.536 GB, free: 88.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.775e-05/9.764, allocations: 0 / 3.536 GB, free: 88.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.09066/9.855, allocations: 14.26 MB / 3.55 GB, free: 73.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/9.855, allocations: 462.9 kB / 3.55 GB, free: 73.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0071/9.862, allocations: 2.586 MB / 3.553 GB, free: 70.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002438/9.865, allocations: 141.7 kB / 3.553 GB, free: 70.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/9.867, allocations: 2.561 MB / 3.555 GB, free: 67.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0042/9.872, allocations: 2.202 MB / 3.557 GB, free: 65.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002718/9.875, allocations: 120 kB / 3.558 GB, free: 65.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006159/9.875, allocations: 0.5146 MB / 3.558 GB, free: 65.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02555/9.901, allocations: 4.165 MB / 3.562 GB, free: 60.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02613/9.927, allocations: 4.726 MB / 3.567 GB, free: 56.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0259/9.953, allocations: 4.348 MB / 3.571 GB, free: 51.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.877e-05/9.953, allocations: 4 kB / 3.571 GB, free: 51.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0624/10.02, allocations: 10.14 MB / 3.581 GB, free: 41.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/10.02, allocations: 12 kB / 3.581 GB, free: 41.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/10.02, allocations: 4 kB / 3.581 GB, free: 41.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/10.02, allocations: 185.5 kB / 3.581 GB, free: 41.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02403/10.04, allocations: 1.911 MB / 3.583 GB, free: 39.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/10.05, allocations: 3.071 MB / 3.586 GB, free: 36.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/10.06, allocations: 1.01 MB / 3.587 GB, free: 35.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/10.07, allocations: 299.7 kB / 3.587 GB, free: 34.73 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 744 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00832/10.08, allocations: 1.227 MB / 3.588 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003557/10.08, allocations: 474.1 kB / 3.589 GB, free: 33.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07488/10.15, allocations: 11.98 MB / 3.601 GB, free: 20.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-05/10.15, allocations: 68 kB / 3.601 GB, free: 20.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.451e-05/10.15, allocations: 3.984 kB / 3.601 GB, free: 20.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002514/10.16, allocations: 31.88 kB / 3.601 GB, free: 20.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08962/10.24, allocations: 20.16 MB / 3.62 GB, free: 476 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.144e-05/10.24, allocations: 0 / 3.62 GB, free: 476 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466/11.71, allocations: 1.784 MB / 3.622 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/11.71, allocations: 193 kB / 3.622 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002723/11.72, allocations: 219.1 kB / 3.623 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/11.72, allocations: 3.113 MB / 3.626 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/11.72, allocations: 1.531 kB / 3.626 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06868/11.79, allocations: 10.1 MB / 3.635 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007548/11.8, allocations: 1.854 MB / 3.637 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003937/11.8, allocations: 118.3 kB / 3.637 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0183/11.82, allocations: 0.7309 MB / 3.638 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002535/11.82, allocations: 412.1 kB / 3.638 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00276/11.83, allocations: 271.6 kB / 3.639 GB, free: 221.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007691/11.83, allocations: 2.216 MB / 3.641 GB, free: 221.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/11.83, allocations: 0.9062 kB / 3.641 GB, free: 221.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01304/11.85, allocations: 1.973 MB / 3.643 GB, free: 221.1 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: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 712 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.07294/11.92, allocations: 11.96 MB / 3.655 GB, free: 219.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.09084/12.01, allocations: 10.15 MB / 3.664 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/12.01, allocations: 0 / 3.664 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03177/12.04, allocations: 5.507 MB / 3.67 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009045/12.05, allocations: 0.7076 MB / 3.67 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.183/12.23, allocations: 48.33 MB / 3.718 GB, free: 197.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006136/12.24, allocations: 3.343 MB / 3.721 GB, free: 196.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02316/12.26, allocations: 1.698 MB / 3.723 GB, free: 196.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01487/12.28, allocations: 3.173 MB / 3.726 GB, free: 193.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.505e-06/12.28, allocations: 0 / 3.726 GB, free: 193.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3173/12.6, allocations: 138.5 MB / 3.861 GB, free: 106.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/12.6, allocations: 248.2 kB / 3.861 GB, free: 106.4 MB / 0.948 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_Validation_BESTEST_WD400.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_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_Validation_BESTEST_WD400_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_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_Validation_BESTEST_WD400_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_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_Validation_BESTEST_WD400_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_functions.o] Error 1