Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD600,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600",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.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001556/0.001556, allocations: 168 kB / 370.8 MB, free: 10.87 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.08/2.08, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001149/0.001149, allocations: 91.05 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004916, allocations: 14.12 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2218, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.829/7.051, allocations: 2.094 GB / 3.073 GB, free: 180.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/7.051, allocations: 98.38 kB / 3.073 GB, free: 180.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.293/9.344, allocations: 386.8 MB / 3.451 GB, free: 176.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.945e-06/9.344, allocations: 0 / 3.451 GB, free: 176.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004866/9.344, allocations: 155.9 kB / 3.451 GB, free: 176.8 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.02643/9.371, allocations: 6.627 MB / 3.457 GB, free: 170 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/9.371, allocations: 12.02 kB / 3.457 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004112/9.375, allocations: 0.9811 MB / 3.458 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.075/9.45, allocations: 5.998 MB / 3.464 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/9.461, allocations: 3.618 MB / 3.468 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006671/9.462, allocations: 0.5541 MB / 3.468 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/9.466, allocations: 0.7227 MB / 3.469 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05575/9.522, allocations: 11.26 MB / 3.48 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000289/9.522, allocations: 0 / 3.48 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002711/9.525, allocations: 312 kB / 3.48 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/9.525, allocations: 188 kB / 3.48 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07691/9.602, allocations: 14.35 MB / 3.494 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/9.713, allocations: 26.19 MB / 3.52 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05673/9.769, allocations: 9.933 MB / 3.53 GB, free: 95.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002304/9.772, allocations: 0.6666 MB / 3.53 GB, free: 94.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02954/9.801, allocations: 5.711 MB / 3.536 GB, free: 88.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.542e-05/9.801, allocations: 0 / 3.536 GB, free: 88.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.09034/9.892, allocations: 14.27 MB / 3.55 GB, free: 74.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/9.892, allocations: 462.8 kB / 3.55 GB, free: 74.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/9.899, allocations: 2.59 MB / 3.553 GB, free: 71.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002487/9.901, allocations: 137.7 kB / 3.553 GB, free: 71.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002841/9.904, allocations: 2.558 MB / 3.555 GB, free: 68.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004265/9.909, allocations: 2.194 MB / 3.557 GB, free: 66.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00268/9.911, allocations: 116 kB / 3.558 GB, free: 66.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000605/9.912, allocations: 0.5224 MB / 3.558 GB, free: 65.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03228/9.944, allocations: 4.161 MB / 3.562 GB, free: 61.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04133/9.986, allocations: 4.734 MB / 3.567 GB, free: 56.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03995/10.03, allocations: 4.348 MB / 3.571 GB, free: 52.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-05/10.03, allocations: 4 kB / 3.571 GB, free: 52.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.07641/10.1, allocations: 10.14 MB / 3.581 GB, free: 42.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/10.1, allocations: 4 kB / 3.581 GB, free: 42.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/10.1, allocations: 11.98 kB / 3.581 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/10.1, allocations: 185.8 kB / 3.581 GB, free: 42.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02435/10.13, allocations: 1.907 MB / 3.583 GB, free: 40.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/10.13, allocations: 3.072 MB / 3.586 GB, free: 36.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.018/10.15, allocations: 1.006 MB / 3.587 GB, free: 35.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/10.15, allocations: 307.6 kB / 3.587 GB, free: 35.45 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.007937/10.16, allocations: 1.223 MB / 3.588 GB, free: 34.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003567/10.17, allocations: 474 kB / 3.589 GB, free: 33.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07432/10.24, allocations: 11.97 MB / 3.601 GB, free: 21.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.799e-05/10.24, allocations: 72 kB / 3.601 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/10.24, allocations: 0 / 3.601 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002441/10.24, allocations: 31.88 kB / 3.601 GB, free: 21.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08755/10.33, allocations: 20.17 MB / 3.62 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/10.33, allocations: 0 / 3.62 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529/11.86, allocations: 1.79 MB / 3.622 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/11.86, allocations: 185.3 kB / 3.622 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002736/11.86, allocations: 219.6 kB / 3.623 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/11.87, allocations: 3.115 MB / 3.626 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/11.87, allocations: 0 / 3.626 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06877/11.94, allocations: 10.11 MB / 3.635 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007952/11.95, allocations: 1.852 MB / 3.637 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004038/11.95, allocations: 122 kB / 3.637 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01847/11.97, allocations: 0.7267 MB / 3.638 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002723/11.97, allocations: 410.4 kB / 3.638 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002922/11.97, allocations: 269.7 kB / 3.639 GB, free: 221.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007797/11.98, allocations: 2.215 MB / 3.641 GB, free: 221.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.02e-07/11.98, allocations: 0 / 3.641 GB, free: 221.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01323/11.99, allocations: 1.976 MB / 3.643 GB, free: 220.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) * 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.07331/12.07, allocations: 11.97 MB / 3.655 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06104/12.13, allocations: 10.15 MB / 3.664 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/12.13, allocations: 1.594 kB / 3.664 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03723/12.17, allocations: 5.518 MB / 3.67 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/12.18, allocations: 0.6975 MB / 3.67 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2646/12.44, allocations: 48.33 MB / 3.718 GB, free: 197.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008909/12.45, allocations: 3.343 MB / 3.721 GB, free: 196.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02712/12.48, allocations: 1.699 MB / 3.723 GB, free: 195.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01809/12.5, allocations: 3.167 MB / 3.726 GB, free: 193.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.694e-06/12.5, allocations: 3.828 kB / 3.726 GB, free: 193.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3305/12.83, allocations: 138.5 MB / 3.861 GB, free: 107.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/12.83, allocations: 256.2 kB / 3.861 GB, free: 107.1 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_WD600.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600_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_WD600_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600_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_WD600_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600_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_WD600_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD600_functions.o] Error 1