Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD100.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.Validation.BESTEST.WD100,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD100,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100",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.705/1.705, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.00102/0.00102, allocations: 180.1 kB / 371.6 MB, free: 3.34 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.523/1.523, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009421/0.0009421, allocations: 92.05 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.043e-05, allocations: 3.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.997/5.221, allocations: 2.095 GB / 3.075 GB, free: 145 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/5.221, allocations: 88.52 kB / 3.075 GB, free: 144.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.378/6.599, allocations: 342.2 MB / 3.41 GB, free: 177.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/6.599, allocations: 0 / 3.41 GB, free: 177.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004689/6.599, allocations: 159.9 kB / 3.41 GB, free: 177.7 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.01967/6.619, allocations: 6.08 MB / 3.416 GB, free: 171.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/6.619, allocations: 8.031 kB / 3.416 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003414/6.623, allocations: 0.9772 MB / 3.417 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03945/6.662, allocations: 5.997 MB / 3.422 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008607/6.671, allocations: 3.594 MB / 3.426 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/6.671, allocations: 0.5619 MB / 3.426 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002587/6.674, allocations: 0.7226 MB / 3.427 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/6.693, allocations: 9.339 MB / 3.436 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/6.693, allocations: 0 / 3.436 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009696/6.694, allocations: 316 kB / 3.437 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.993e-05/6.694, allocations: 184 kB / 3.437 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/6.717, allocations: 10.6 MB / 3.447 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06018/6.777, allocations: 26.16 MB / 3.473 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/6.79, allocations: 7.519 MB / 3.48 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006329/6.796, allocations: 3.882 MB / 3.484 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/6.798, allocations: 0.6789 MB / 3.484 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007624/6.805, allocations: 4.608 MB / 3.489 GB, free: 95.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 9.628e-06/6.805, allocations: 0 / 3.489 GB, free: 95.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.01439/6.82, allocations: 7.523 MB / 3.496 GB, free: 88.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/6.82, allocations: 458.9 kB / 3.497 GB, free: 87.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/6.824, allocations: 2.554 MB / 3.499 GB, free: 85.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009875/6.825, allocations: 141.7 kB / 3.499 GB, free: 84.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/6.827, allocations: 2.558 MB / 3.502 GB, free: 82.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/6.829, allocations: 2.198 MB / 3.504 GB, free: 80.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/6.829, allocations: 116 kB / 3.504 GB, free: 80.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002226/6.829, allocations: 0.5224 MB / 3.505 GB, free: 79.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005272/6.835, allocations: 3.046 MB / 3.508 GB, free: 76.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005518/6.84, allocations: 3.622 MB / 3.511 GB, free: 72.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005524/6.846, allocations: 3.237 MB / 3.514 GB, free: 69.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/6.846, allocations: 4 kB / 3.514 GB, free: 69.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01582/6.862, allocations: 7.907 MB / 3.522 GB, free: 61.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/6.862, allocations: 8 kB / 3.522 GB, free: 61.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/6.862, allocations: 4 kB / 3.522 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/6.863, allocations: 193.8 kB / 3.522 GB, free: 61.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/6.874, allocations: 1.911 MB / 3.524 GB, free: 59.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/6.877, allocations: 3.044 MB / 3.527 GB, free: 56.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009634/6.887, allocations: 1.002 MB / 3.528 GB, free: 55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/6.888, allocations: 307.6 kB / 3.528 GB, free: 54.7 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 () * 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.001692/6.89, allocations: 421.7 kB / 3.529 GB, free: 54.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/6.891, allocations: 474 kB / 3.529 GB, free: 53.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/6.912, allocations: 9.742 MB / 3.539 GB, free: 43.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.079e-05/6.912, allocations: 71.95 kB / 3.539 GB, free: 43.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/6.912, allocations: 4 kB / 3.539 GB, free: 43.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/6.912, allocations: 35.86 kB / 3.539 GB, free: 43.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/6.94, allocations: 17.98 MB / 3.556 GB, free: 25.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/6.94, allocations: 0 / 3.556 GB, free: 25.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/6.951, allocations: 1.794 MB / 3.558 GB, free: 23.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/6.953, allocations: 181.5 kB / 3.558 GB, free: 23.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002006/6.955, allocations: 227.7 kB / 3.559 GB, free: 23.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/6.957, allocations: 3.083 MB / 3.562 GB, free: 20.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/6.957, allocations: 3.953 kB / 3.562 GB, free: 20.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/6.972, allocations: 7.874 MB / 3.569 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003389/6.976, allocations: 1.859 MB / 3.571 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/6.977, allocations: 116 kB / 3.571 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008609/6.986, allocations: 0.7336 MB / 3.572 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007878/6.986, allocations: 409.2 kB / 3.572 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006876/6.987, allocations: 267.7 kB / 3.573 GB, free: 8.738 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003459/6.991, allocations: 2.173 MB / 3.575 GB, free: 6.586 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/6.991, allocations: 0 / 3.575 GB, free: 6.586 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006377/6.997, allocations: 1.977 MB / 3.577 GB, free: 4.602 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) * 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.8323/7.829, allocations: 9.681 MB / 3.586 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02271/7.852, allocations: 7.915 MB / 3.594 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/7.852, allocations: 1.25 kB / 3.594 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01101/7.863, allocations: 4.402 MB / 3.598 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005944/7.869, allocations: 0.7058 MB / 3.599 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/7.903, allocations: 11.43 MB / 3.61 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/7.907, allocations: 3.344 MB / 3.613 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01608/7.923, allocations: 1.701 MB / 3.615 GB, free: 184.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009663/7.933, allocations: 3.17 MB / 3.618 GB, free: 184.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.054e-06/7.933, allocations: 0 / 3.618 GB, free: 184.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.256/8.189, allocations: 142.1 MB / 3.757 GB, free: 164.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/8.189, allocations: 231.9 kB / 3.757 GB, free: 164.2 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_Validation_BESTEST_WD100.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100_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_Validation_BESTEST_WD100_functions.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100_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_Validation_BESTEST_WD100_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD100_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_Validation_BESTEST_WD100_functions.o] Error 1