Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500",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.756/2.756, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001524/0.001524, allocations: 188.4 kB / 370.8 MB, free: 10.86 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.316/2.316, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001161/0.00116, allocations: 97.95 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 14.69 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.874/7.09, allocations: 2.094 GB / 3.073 GB, free: 180.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/7.09, allocations: 93.39 kB / 3.073 GB, free: 180.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.498/9.588, allocations: 386.8 MB / 3.451 GB, free: 177.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.806e-06/9.588, allocations: 0 / 3.451 GB, free: 177.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004977/9.588, allocations: 152 kB / 3.451 GB, free: 176.9 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.02715/9.616, allocations: 6.627 MB / 3.457 GB, free: 170.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/9.616, allocations: 12.02 kB / 3.457 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004625/9.62, allocations: 0.9811 MB / 3.458 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07712/9.698, allocations: 5.998 MB / 3.464 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/9.709, allocations: 3.618 MB / 3.468 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006692/9.71, allocations: 0.5541 MB / 3.468 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/9.714, allocations: 0.7227 MB / 3.469 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06227/9.777, allocations: 11.25 MB / 3.48 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003935/9.777, allocations: 3.938 kB / 3.48 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003649/9.781, allocations: 316 kB / 3.48 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/9.781, allocations: 188 kB / 3.48 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0788/9.86, allocations: 14.34 MB / 3.494 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09123/9.951, allocations: 26.19 MB / 3.52 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0574/10.01, allocations: 9.925 MB / 3.53 GB, free: 95.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/10.01, allocations: 0.6742 MB / 3.53 GB, free: 94.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03213/10.04, allocations: 5.708 MB / 3.536 GB, free: 89.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.603e-05/10.04, allocations: 0 / 3.536 GB, free: 89.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.09215/10.14, allocations: 14.27 MB / 3.55 GB, free: 74.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/10.14, allocations: 462.9 kB / 3.55 GB, free: 74.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007194/10.14, allocations: 2.586 MB / 3.553 GB, free: 71.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002521/10.15, allocations: 137.7 kB / 3.553 GB, free: 71.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002836/10.15, allocations: 2.561 MB / 3.555 GB, free: 68.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004356/10.15, allocations: 2.19 MB / 3.557 GB, free: 66.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/10.15, allocations: 120 kB / 3.558 GB, free: 66.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004828/10.16, allocations: 0.5223 MB / 3.558 GB, free: 66.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02602/10.18, allocations: 4.161 MB / 3.562 GB, free: 61.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02727/10.21, allocations: 4.741 MB / 3.567 GB, free: 57.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02674/10.24, allocations: 4.344 MB / 3.571 GB, free: 52.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/10.24, allocations: 0 / 3.571 GB, free: 52.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.06367/10.3, allocations: 10.15 MB / 3.581 GB, free: 42.42 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/10.3, allocations: 11.98 kB / 3.581 GB, free: 42.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.462e-05/10.3, allocations: 4 kB / 3.581 GB, free: 42.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/10.3, allocations: 189.7 kB / 3.581 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02458/10.33, allocations: 1.903 MB / 3.583 GB, free: 40.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/10.33, allocations: 3.075 MB / 3.586 GB, free: 36.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01848/10.35, allocations: 1.002 MB / 3.587 GB, free: 35.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/10.35, allocations: 307.6 kB / 3.587 GB, free: 35.64 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.007957/10.36, allocations: 1.223 MB / 3.588 GB, free: 34.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00309/10.36, allocations: 478.1 kB / 3.589 GB, free: 33.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07443/10.44, allocations: 11.97 MB / 3.601 GB, free: 21.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/10.44, allocations: 71.94 kB / 3.601 GB, free: 21.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/10.44, allocations: 3.938 kB / 3.601 GB, free: 21.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002787/10.44, allocations: 31.88 kB / 3.601 GB, free: 21.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08509/10.52, allocations: 20.17 MB / 3.62 GB, free: 1.383 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/10.52, allocations: 0 / 3.62 GB, free: 1.383 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.7485/11.27, allocations: 1.788 MB / 3.622 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/11.27, allocations: 185.8 kB / 3.622 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00274/11.28, allocations: 221.4 kB / 3.623 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/11.28, allocations: 3.117 MB / 3.626 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/11.28, allocations: 1.969 kB / 3.626 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06884/11.35, allocations: 10.1 MB / 3.635 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008145/11.36, allocations: 1.851 MB / 3.637 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004307/11.36, allocations: 120.1 kB / 3.637 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01905/11.38, allocations: 0.7311 MB / 3.638 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002583/11.39, allocations: 411 kB / 3.638 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002872/11.39, allocations: 270.7 kB / 3.639 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007845/11.4, allocations: 2.211 MB / 3.641 GB, free: 222.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.92e-07/11.4, allocations: 3.156 kB / 3.641 GB, free: 222.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01363/11.41, allocations: 1.973 MB / 3.643 GB, free: 221.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.08256/11.49, allocations: 11.97 MB / 3.655 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0633/11.56, allocations: 10.15 MB / 3.664 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/11.56, allocations: 2.531 kB / 3.664 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03148/11.59, allocations: 5.506 MB / 3.67 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008817/11.6, allocations: 0.7085 MB / 3.67 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1957/11.79, allocations: 48.33 MB / 3.718 GB, free: 198.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006937/11.8, allocations: 3.35 MB / 3.721 GB, free: 197.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02326/11.82, allocations: 1.687 MB / 3.723 GB, free: 196.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01426/11.84, allocations: 3.171 MB / 3.726 GB, free: 194.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/11.84, allocations: 0 / 3.726 GB, free: 194.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3525/12.19, allocations: 138.5 MB / 3.861 GB, free: 109.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/12.19, allocations: 256.1 kB / 3.861 GB, free: 108.9 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_WD500.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_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_WD500_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_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_WD500_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_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_WD500_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.o] Error 1