Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 289.7 MB / 302.3 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.001326/0.001327, allocations: 179.4 kB / 371.6 MB, free: 3.375 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.506/1.506, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008816/0.0008817, allocations: 92.56 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.529e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.978/5.201, allocations: 2.096 GB / 3.075 GB, free: 98.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/5.201, allocations: 85.39 kB / 3.075 GB, free: 98.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.417/6.618, allocations: 386.2 MB / 3.453 GB, free: 97.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/6.618, allocations: 0 / 3.453 GB, free: 97.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00036/6.619, allocations: 160 kB / 3.453 GB, free: 97.2 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.01767/6.636, allocations: 6.089 MB / 3.459 GB, free: 91.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/6.636, allocations: 12.03 kB / 3.459 GB, free: 91.01 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003039/6.64, allocations: 0.9772 MB / 3.46 GB, free: 90.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03897/6.678, allocations: 5.986 MB / 3.466 GB, free: 84.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008594/6.687, allocations: 3.594 MB / 3.469 GB, free: 80.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/6.688, allocations: 0.5583 MB / 3.47 GB, free: 79.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/6.691, allocations: 0.7265 MB / 3.47 GB, free: 79.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/6.712, allocations: 9.344 MB / 3.479 GB, free: 69.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/6.713, allocations: 7.938 kB / 3.479 GB, free: 69.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/6.714, allocations: 312 kB / 3.48 GB, free: 69.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.422e-05/6.714, allocations: 188 kB / 3.48 GB, free: 69.13 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/6.735, allocations: 10.58 MB / 3.49 GB, free: 58.53 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06368/6.799, allocations: 26.17 MB / 3.516 GB, free: 32.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/6.816, allocations: 7.522 MB / 3.523 GB, free: 24.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00826/6.825, allocations: 3.879 MB / 3.527 GB, free: 20.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/6.826, allocations: 0.6786 MB / 3.528 GB, free: 19.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01132/6.838, allocations: 4.593 MB / 3.532 GB, free: 15.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.2e-05/6.838, allocations: 0 / 3.532 GB, free: 15.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.02222/6.86, allocations: 7.531 MB / 3.539 GB, free: 7.688 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/6.86, allocations: 466.9 kB / 3.54 GB, free: 7.137 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/6.866, allocations: 2.542 MB / 3.542 GB, free: 4.598 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002188/6.868, allocations: 141.7 kB / 3.542 GB, free: 4.453 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002324/6.871, allocations: 2.554 MB / 3.545 GB, free: 1.871 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.6505/7.521, allocations: 2.193 MB / 3.547 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008838/7.522, allocations: 118.5 kB / 3.547 GB, free: 189.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004522/7.523, allocations: 0.5155 MB / 3.548 GB, free: 189 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006925/7.529, allocations: 3.052 MB / 3.551 GB, free: 189 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008626/7.538, allocations: 3.617 MB / 3.554 GB, free: 188.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008294/7.546, allocations: 3.24 MB / 3.557 GB, free: 188.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/7.546, allocations: 5.375 kB / 3.557 GB, free: 188.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02385/7.57, allocations: 7.913 MB / 3.565 GB, free: 188.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/7.57, allocations: 7.594 kB / 3.565 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/7.57, allocations: 8.844 kB / 3.565 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/7.572, allocations: 180 kB / 3.565 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/7.586, allocations: 1.909 MB / 3.567 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/7.59, allocations: 3.051 MB / 3.57 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/7.602, allocations: 0.9991 MB / 3.571 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002674/7.605, allocations: 312.3 kB / 3.571 GB, free: 185.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 () * 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.004722/7.61, allocations: 427.2 kB / 3.572 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003084/7.613, allocations: 475.6 kB / 3.572 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03233/7.645, allocations: 9.745 MB / 3.582 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/7.645, allocations: 69.19 kB / 3.582 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.401e-05/7.645, allocations: 3.281 kB / 3.582 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001614/7.646, allocations: 31.36 kB / 3.582 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04512/7.691, allocations: 17.98 MB / 3.599 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/7.691, allocations: 0.75 kB / 3.599 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01284/7.704, allocations: 1.788 MB / 3.601 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/7.705, allocations: 184.7 kB / 3.601 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002699/7.708, allocations: 223.8 kB / 3.602 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/7.711, allocations: 3.089 MB / 3.605 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.711, allocations: 0.6562 kB / 3.605 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02691/7.738, allocations: 7.875 MB / 3.612 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007114/7.745, allocations: 1.853 MB / 3.614 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003976/7.749, allocations: 119.7 kB / 3.614 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01214/7.761, allocations: 0.7317 MB / 3.615 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003155/7.764, allocations: 414.4 kB / 3.615 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003508/7.768, allocations: 274.1 kB / 3.616 GB, free: 178.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007482/7.775, allocations: 2.175 MB / 3.618 GB, free: 177.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/7.775, allocations: 0 / 3.618 GB, free: 177.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0126/7.788, allocations: 1.976 MB / 3.62 GB, free: 176.9 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.0326/7.821, allocations: 9.683 MB / 3.629 GB, free: 172.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02277/7.843, allocations: 7.919 MB / 3.637 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/7.844, allocations: 1 kB / 3.637 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0128/7.856, allocations: 4.397 MB / 3.641 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/7.863, allocations: 0.7116 MB / 3.642 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/7.909, allocations: 11.43 MB / 3.653 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/7.916, allocations: 3.338 MB / 3.656 GB, free: 161.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01862/7.935, allocations: 1.7 MB / 3.658 GB, free: 161.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01321/7.948, allocations: 3.173 MB / 3.661 GB, free: 158.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/7.948, allocations: 0.5625 kB / 3.661 GB, free: 158.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/8.179, allocations: 142.1 MB / 3.8 GB, free: 92.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/8.179, allocations: 228 kB / 3.8 GB, free: 92.43 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_WD400.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400_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_WD400_functions.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400_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_WD400_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400_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_WD400_functions.o] Error 1