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.766/1.766, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001076/0.001076, allocations: 191.1 kB / 377.1 MB, free: 1.52 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.618/1.618, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008948/0.0008948, allocations: 92.67 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2726, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.29, allocations: 2.096 GB / 3.084 GB, free: 86.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.291, allocations: 90.83 kB / 3.084 GB, free: 86.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.315/6.605, allocations: 386.8 MB / 3.462 GB, free: 79.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.276e-06/6.605, allocations: 0 / 3.462 GB, free: 79.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003539/6.606, allocations: 159.9 kB / 3.462 GB, free: 79.44 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.0175/6.623, allocations: 6.623 MB / 3.468 GB, free: 72.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/6.623, allocations: 20.02 kB / 3.468 GB, free: 72.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003073/6.626, allocations: 0.9811 MB / 3.469 GB, free: 71.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03839/6.665, allocations: 5.999 MB / 3.475 GB, free: 65.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008075/6.673, allocations: 3.615 MB / 3.479 GB, free: 62.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/6.673, allocations: 0.5657 MB / 3.479 GB, free: 61.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/6.675, allocations: 0.7227 MB / 3.48 GB, free: 60.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/6.707, allocations: 11.26 MB / 3.491 GB, free: 49.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003/6.707, allocations: 7.875 kB / 3.491 GB, free: 49.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002301/6.709, allocations: 316 kB / 3.491 GB, free: 49.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/6.71, allocations: 188 kB / 3.492 GB, free: 48.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04566/6.755, allocations: 14.33 MB / 3.506 GB, free: 34.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06167/6.817, allocations: 26.18 MB / 3.531 GB, free: 8.156 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 1.068/7.885, allocations: 9.921 MB / 3.541 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/7.887, allocations: 0.6663 MB / 3.541 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02146/7.909, allocations: 5.708 MB / 3.547 GB, free: 185.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.708e-05/7.909, allocations: 3 kB / 3.547 GB, free: 185.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.06266/7.971, allocations: 14.27 MB / 3.561 GB, free: 184.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/7.972, allocations: 458.7 kB / 3.561 GB, free: 184.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007577/7.979, allocations: 2.59 MB / 3.564 GB, free: 184 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002664/7.982, allocations: 133.3 kB / 3.564 GB, free: 184 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/7.985, allocations: 2.56 MB / 3.567 GB, free: 183.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004721/7.99, allocations: 2.2 MB / 3.569 GB, free: 182.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/7.992, allocations: 121.3 kB / 3.569 GB, free: 182.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006498/7.993, allocations: 0.5186 MB / 3.569 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01672/8.01, allocations: 4.162 MB / 3.573 GB, free: 181.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02071/8.031, allocations: 4.728 MB / 3.578 GB, free: 181.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/8.048, allocations: 4.349 MB / 3.582 GB, free: 181.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.577e-05/8.048, allocations: 3 kB / 3.582 GB, free: 181.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0436/8.092, allocations: 10.14 MB / 3.592 GB, free: 180.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/8.092, allocations: 6.25 kB / 3.592 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/8.092, allocations: 6.656 kB / 3.592 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/8.093, allocations: 187.8 kB / 3.592 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/8.108, allocations: 1.905 MB / 3.594 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/8.112, allocations: 3.07 MB / 3.597 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01299/8.125, allocations: 1.008 MB / 3.598 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003097/8.128, allocations: 304.2 kB / 3.598 GB, free: 178.1 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.009742/8.137, allocations: 1.229 MB / 3.6 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003926/8.141, allocations: 474.5 kB / 3.6 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05311/8.194, allocations: 11.98 MB / 3.612 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.621e-05/8.195, allocations: 68.81 kB / 3.612 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.167e-05/8.195, allocations: 0.5 kB / 3.612 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002578/8.195, allocations: 34.41 kB / 3.612 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06405/8.259, allocations: 20.17 MB / 3.632 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.385e-05/8.259, allocations: 0 / 3.632 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01361/8.273, allocations: 1.795 MB / 3.633 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/8.274, allocations: 187.5 kB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002947/8.277, allocations: 224.7 kB / 3.634 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/8.281, allocations: 3.116 MB / 3.637 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/8.281, allocations: 1.625 kB / 3.637 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04365/8.324, allocations: 10.11 MB / 3.647 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006986/8.331, allocations: 1.85 MB / 3.648 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004477/8.336, allocations: 123.3 kB / 3.649 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01277/8.349, allocations: 0.7284 MB / 3.649 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002735/8.351, allocations: 410.3 kB / 3.65 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002661/8.354, allocations: 278.7 kB / 3.65 GB, free: 158.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006209/8.36, allocations: 2.212 MB / 3.652 GB, free: 157.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.585e-06/8.36, allocations: 1.125 kB / 3.652 GB, free: 157.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01349/8.374, allocations: 1.974 MB / 3.654 GB, free: 157.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.04551/8.419, allocations: 11.96 MB / 3.666 GB, free: 152.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03357/8.453, allocations: 10.14 MB / 3.676 GB, free: 148.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/8.453, allocations: 3.609 kB / 3.676 GB, free: 148.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01784/8.471, allocations: 5.508 MB / 3.681 GB, free: 146.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00654/8.478, allocations: 0.7168 MB / 3.682 GB, free: 146.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1219/8.599, allocations: 48.33 MB / 3.729 GB, free: 118.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006299/8.606, allocations: 3.341 MB / 3.732 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01765/8.624, allocations: 1.692 MB / 3.734 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009291/8.633, allocations: 3.169 MB / 3.737 GB, free: 114.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/8.633, allocations: 3.391 kB / 3.737 GB, free: 114.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/8.845, allocations: 138.5 MB / 3.872 GB, free: 8.051 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/8.845, allocations: 252.7 kB / 3.872 GB, free: 7.715 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_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: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_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: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_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