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.668/1.668, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001145/0.001145, allocations: 187.9 kB / 377.1 MB, free: 1.527 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.765/1.765, allocations: 205.4 MB / 0.6366 GB, free: 8.582 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.0008755/0.0008755, allocations: 90.81 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004439, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.285, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.653/4.938, allocations: 2.095 GB / 3.084 GB, free: 85.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/4.938, allocations: 90.77 kB / 3.084 GB, free: 85.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.36/6.298, allocations: 342.8 MB / 3.419 GB, free: 123.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.246e-06/6.298, allocations: 0 / 3.419 GB, free: 123.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004374/6.299, allocations: 163.9 kB / 3.419 GB, free: 123.5 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.02132/6.32, allocations: 6.619 MB / 3.425 GB, free: 116.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/6.32, allocations: 16.02 kB / 3.425 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004008/6.324, allocations: 0.985 MB / 3.426 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04065/6.365, allocations: 5.995 MB / 3.432 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00917/6.374, allocations: 3.615 MB / 3.436 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/6.375, allocations: 0.558 MB / 3.436 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/6.378, allocations: 0.7265 MB / 3.437 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03723/6.415, allocations: 11.26 MB / 3.448 GB, free: 93.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/6.415, allocations: 8 kB / 3.448 GB, free: 93.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/6.418, allocations: 312 kB / 3.448 GB, free: 93.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/6.418, allocations: 184 kB / 3.448 GB, free: 92.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04498/6.463, allocations: 14.33 MB / 3.462 GB, free: 78.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06666/6.529, allocations: 26.18 MB / 3.488 GB, free: 52.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03141/6.561, allocations: 9.926 MB / 3.498 GB, free: 42.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/6.563, allocations: 0.6781 MB / 3.498 GB, free: 41.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01915/6.582, allocations: 5.714 MB / 3.504 GB, free: 35.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.532e-05/6.582, allocations: 0 / 3.504 GB, free: 35.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.0562/6.638, allocations: 14.27 MB / 3.518 GB, free: 21.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/6.638, allocations: 462.8 kB / 3.518 GB, free: 20.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005406/6.644, allocations: 2.586 MB / 3.521 GB, free: 18.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002945/6.647, allocations: 141.7 kB / 3.521 GB, free: 18.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/6.649, allocations: 2.55 MB / 3.523 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004503/6.654, allocations: 2.206 MB / 3.526 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009121/6.655, allocations: 116 kB / 3.526 GB, free: 13.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003952/6.655, allocations: 0.5185 MB / 3.526 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01403/6.669, allocations: 4.161 MB / 3.53 GB, free: 8.414 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01623/6.685, allocations: 4.73 MB / 3.535 GB, free: 3.566 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6071/7.292, allocations: 4.343 MB / 3.539 GB, free: 196.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/7.292, allocations: 0 / 3.539 GB, free: 196.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03767/7.33, allocations: 10.14 MB / 3.549 GB, free: 196.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/7.33, allocations: 10.08 kB / 3.549 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/7.33, allocations: 4.5 kB / 3.549 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/7.332, allocations: 188.8 kB / 3.549 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/7.347, allocations: 1.911 MB / 3.551 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/7.351, allocations: 3.059 MB / 3.554 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/7.364, allocations: 1.008 MB / 3.555 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003052/7.367, allocations: 306.9 kB / 3.555 GB, free: 193.6 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.007125/7.374, allocations: 1.224 MB / 3.557 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001922/7.376, allocations: 482.1 kB / 3.557 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0431/7.419, allocations: 11.97 MB / 3.569 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.496e-05/7.419, allocations: 70.27 kB / 3.569 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.013e-05/7.419, allocations: 3.094 kB / 3.569 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002382/7.419, allocations: 39.38 kB / 3.569 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06607/7.485, allocations: 20.16 MB / 3.588 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.189e-05/7.485, allocations: 0 / 3.588 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01469/7.5, allocations: 1.794 MB / 3.59 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/7.502, allocations: 186.3 kB / 3.59 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00359/7.505, allocations: 217.3 kB / 3.591 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/7.509, allocations: 3.121 MB / 3.594 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/7.509, allocations: 3.953 kB / 3.594 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/7.554, allocations: 10.11 MB / 3.604 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008368/7.562, allocations: 1.849 MB / 3.605 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004083/7.566, allocations: 122.8 kB / 3.605 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01102/7.577, allocations: 0.7256 MB / 3.606 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/7.579, allocations: 414 kB / 3.607 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002191/7.581, allocations: 269 kB / 3.607 GB, free: 187.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005968/7.587, allocations: 2.223 MB / 3.609 GB, free: 186.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/7.587, allocations: 0 / 3.609 GB, free: 186.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01155/7.599, allocations: 1.976 MB / 3.611 GB, free: 186.2 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.04694/7.646, allocations: 11.95 MB / 3.623 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04106/7.687, allocations: 10.16 MB / 3.632 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/7.687, allocations: 0.9375 kB / 3.632 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02015/7.707, allocations: 5.508 MB / 3.638 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00695/7.714, allocations: 0.7024 MB / 3.639 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1306/7.845, allocations: 48.33 MB / 3.686 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006528/7.851, allocations: 3.348 MB / 3.689 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01496/7.866, allocations: 1.693 MB / 3.691 GB, free: 146 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008419/7.875, allocations: 3.169 MB / 3.694 GB, free: 143.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/7.875, allocations: 0 / 3.694 GB, free: 143.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2079/8.083, allocations: 138.5 MB / 3.829 GB, free: 53.31 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/8.083, allocations: 256.8 kB / 3.829 GB, free: 52.97 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.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: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 -falign-functions -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.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: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_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