Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD100,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.581/2.581, 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.001646/0.001646, allocations: 182.6 kB / 370.8 MB, free: 10.88 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.978/1.978, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001117/0.001116, allocations: 88.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006389, allocations: 20.5 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2575, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.94, allocations: 2.094 GB / 3.073 GB, free: 179.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/6.94, allocations: 92.52 kB / 3.073 GB, free: 179.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.077/9.017, allocations: 342.7 MB / 3.407 GB, free: 218.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/9.017, allocations: 0 / 3.407 GB, free: 218.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004925/9.018, allocations: 159.5 kB / 3.408 GB, free: 218.1 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.02896/9.047, allocations: 6.624 MB / 3.414 GB, free: 212 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/9.047, allocations: 16 kB / 3.414 GB, free: 211.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00438/9.051, allocations: 0.9851 MB / 3.415 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07624/9.128, allocations: 5.994 MB / 3.421 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/9.139, allocations: 3.616 MB / 3.424 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006532/9.14, allocations: 0.558 MB / 3.425 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/9.144, allocations: 0.7227 MB / 3.426 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05579/9.2, allocations: 11.26 MB / 3.437 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003205/9.2, allocations: 4 kB / 3.437 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003254/9.203, allocations: 308 kB / 3.437 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/9.203, allocations: 192 kB / 3.437 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07837/9.282, allocations: 14.33 MB / 3.451 GB, free: 174.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09126/9.373, allocations: 26.19 MB / 3.477 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05666/9.43, allocations: 9.93 MB / 3.486 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/9.432, allocations: 0.6744 MB / 3.487 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02978/9.462, allocations: 5.708 MB / 3.493 GB, free: 131.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.357e-05/9.462, allocations: 0 / 3.493 GB, free: 131.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.08987/9.552, allocations: 14.27 MB / 3.507 GB, free: 117.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/9.552, allocations: 458.9 kB / 3.507 GB, free: 116.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/9.558, allocations: 2.59 MB / 3.51 GB, free: 114.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003736/9.562, allocations: 137.7 kB / 3.51 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004835/9.567, allocations: 2.554 MB / 3.512 GB, free: 111.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006733/9.574, allocations: 2.202 MB / 3.514 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003276/9.577, allocations: 120 kB / 3.514 GB, free: 109.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006288/9.578, allocations: 0.5185 MB / 3.515 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02643/9.605, allocations: 4.161 MB / 3.519 GB, free: 104.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0275/9.632, allocations: 4.73 MB / 3.524 GB, free: 99.63 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02743/9.66, allocations: 4.351 MB / 3.528 GB, free: 95.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/9.66, allocations: 0 / 3.528 GB, free: 95.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.06498/9.725, allocations: 10.13 MB / 3.538 GB, free: 85.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/9.725, allocations: 8 kB / 3.538 GB, free: 85.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/9.725, allocations: 4 kB / 3.538 GB, free: 85.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/9.727, allocations: 193.8 kB / 3.538 GB, free: 84.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02443/9.751, allocations: 1.911 MB / 3.54 GB, free: 82.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005404/9.757, allocations: 3.074 MB / 3.543 GB, free: 79.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/9.775, allocations: 1.006 MB / 3.544 GB, free: 78.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002798/9.778, allocations: 303.7 kB / 3.544 GB, free: 78.26 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.0082/9.786, allocations: 1.22 MB / 3.545 GB, free: 77.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003651/9.79, allocations: 481.9 kB / 3.546 GB, free: 76.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07545/9.865, allocations: 11.97 MB / 3.557 GB, free: 64.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-05/9.865, allocations: 68 kB / 3.558 GB, free: 64.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/9.865, allocations: 0 / 3.558 GB, free: 64.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000226/9.866, allocations: 39.86 kB / 3.558 GB, free: 64.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08529/9.951, allocations: 20.17 MB / 3.577 GB, free: 44.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/9.951, allocations: 0 / 3.577 GB, free: 44.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0231/9.974, allocations: 1.794 MB / 3.579 GB, free: 42.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/9.976, allocations: 185.4 kB / 3.579 GB, free: 42.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00271/9.979, allocations: 219.7 kB / 3.579 GB, free: 41.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/9.984, allocations: 3.119 MB / 3.582 GB, free: 38.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/9.984, allocations: 0 / 3.582 GB, free: 38.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06014/10.04, allocations: 10.11 MB / 3.592 GB, free: 28.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006488/10.05, allocations: 1.851 MB / 3.594 GB, free: 26.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003256/10.05, allocations: 124 kB / 3.594 GB, free: 26.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01759/10.07, allocations: 0.7258 MB / 3.595 GB, free: 25.65 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002088/10.07, allocations: 413 kB / 3.595 GB, free: 25.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001692/10.08, allocations: 271.7 kB / 3.596 GB, free: 24.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005445/10.08, allocations: 2.216 MB / 3.598 GB, free: 22.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.52e-07/10.08, allocations: 0 / 3.598 GB, free: 22.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01148/10.09, allocations: 1.969 MB / 3.6 GB, free: 20.8 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.0687/10.16, allocations: 11.95 MB / 3.611 GB, free: 9.062 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.7988/10.96, allocations: 10.14 MB / 3.621 GB, free: 235.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/10.96, allocations: 0.875 kB / 3.621 GB, free: 235.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03229/10.99, allocations: 5.507 MB / 3.627 GB, free: 235.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008406/11, allocations: 0.7065 MB / 3.627 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2544/11.26, allocations: 48.33 MB / 3.675 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006358/11.26, allocations: 3.345 MB / 3.678 GB, free: 216.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02373/11.29, allocations: 1.704 MB / 3.679 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01396/11.3, allocations: 3.162 MB / 3.683 GB, free: 215.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/11.3, allocations: 3.938 kB / 3.683 GB, free: 215.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3013/11.6, allocations: 138.5 MB / 3.818 GB, free: 150 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/11.6, allocations: 252.3 kB / 3.818 GB, free: 149.7 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_WD100.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100.c:7: In file included from ./Buildings_8_0_0_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 -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_WD100_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100_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_WD100_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD100_functions.o] Error 1