Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300",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.557/2.557, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001421/0.001421, allocations: 182.6 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.14/2.14, 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.001121/0.001121, allocations: 93.36 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.00051, allocations: 11.25 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.728/6.949, allocations: 2.094 GB / 3.073 GB, free: 180.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/6.949, allocations: 90.45 kB / 3.073 GB, free: 180.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.376/9.325, allocations: 386.8 MB / 3.451 GB, free: 177 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.236e-06/9.325, allocations: 0 / 3.451 GB, free: 177 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005427/9.326, allocations: 152 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.02841/9.354, allocations: 6.627 MB / 3.457 GB, free: 170.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/9.354, allocations: 12.02 kB / 3.457 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00443/9.359, allocations: 0.985 MB / 3.458 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07652/9.435, allocations: 5.994 MB / 3.464 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/9.448, allocations: 3.614 MB / 3.468 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006671/9.448, allocations: 0.5619 MB / 3.468 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/9.452, allocations: 0.7188 MB / 3.469 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06182/9.514, allocations: 11.26 MB / 3.48 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003824/9.515, allocations: 7.922 kB / 3.48 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003486/9.518, allocations: 312 kB / 3.48 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/9.518, allocations: 184 kB / 3.48 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07787/9.596, allocations: 14.34 MB / 3.494 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08994/9.686, allocations: 26.19 MB / 3.52 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05649/9.743, allocations: 9.938 MB / 3.53 GB, free: 95.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/9.745, allocations: 0.6709 MB / 3.53 GB, free: 94.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02942/9.774, allocations: 5.704 MB / 3.536 GB, free: 89.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.398e-05/9.775, allocations: 3.938 kB / 3.536 GB, free: 89.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.08924/9.864, allocations: 14.27 MB / 3.55 GB, free: 74.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/9.864, allocations: 458.9 kB / 3.55 GB, free: 74.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006003/9.87, allocations: 2.586 MB / 3.553 GB, free: 71.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002467/9.873, allocations: 137.7 kB / 3.553 GB, free: 71.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00253/9.875, allocations: 2.558 MB / 3.555 GB, free: 68.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004089/9.879, allocations: 2.202 MB / 3.557 GB, free: 66.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/9.881, allocations: 116 kB / 3.558 GB, free: 66.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004798/9.882, allocations: 0.5146 MB / 3.558 GB, free: 65.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02537/9.907, allocations: 4.165 MB / 3.562 GB, free: 61.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02672/9.934, allocations: 4.737 MB / 3.567 GB, free: 56.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02639/9.96, allocations: 4.348 MB / 3.571 GB, free: 52.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-05/9.961, allocations: 4 kB / 3.571 GB, free: 52.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.06285/10.02, allocations: 10.14 MB / 3.581 GB, free: 42.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/10.02, allocations: 8 kB / 3.581 GB, free: 42.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/10.02, allocations: 4 kB / 3.581 GB, free: 42.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/10.03, allocations: 189.8 kB / 3.581 GB, free: 42.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02412/10.05, allocations: 1.907 MB / 3.583 GB, free: 40.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/10.05, allocations: 3.067 MB / 3.586 GB, free: 36.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01809/10.07, allocations: 1.01 MB / 3.587 GB, free: 35.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002608/10.08, allocations: 303.6 kB / 3.587 GB, free: 35.5 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.007746/10.08, allocations: 1.231 MB / 3.588 GB, free: 34.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00326/10.09, allocations: 478 kB / 3.589 GB, free: 33.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07287/10.16, allocations: 11.97 MB / 3.601 GB, free: 21.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-05/10.16, allocations: 68 kB / 3.601 GB, free: 21.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/10.16, allocations: 3.938 kB / 3.601 GB, free: 21.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002045/10.16, allocations: 35.86 kB / 3.601 GB, free: 21.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08282/10.24, allocations: 20.16 MB / 3.62 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/10.24, allocations: 0 / 3.62 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386/11.63, allocations: 1.795 MB / 3.622 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/11.63, allocations: 187.2 kB / 3.622 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003537/11.64, allocations: 221.8 kB / 3.623 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007668/11.64, allocations: 3.112 MB / 3.626 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/11.64, allocations: 0 / 3.626 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09524/11.74, allocations: 10.11 MB / 3.635 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01062/11.75, allocations: 1.85 MB / 3.637 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00547/11.75, allocations: 118.9 kB / 3.637 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02533/11.78, allocations: 0.7332 MB / 3.638 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003538/11.78, allocations: 408.2 kB / 3.638 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003906/11.79, allocations: 275.4 kB / 3.639 GB, free: 221 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01112/11.8, allocations: 2.213 MB / 3.641 GB, free: 220.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.603e-06/11.8, allocations: 0 / 3.641 GB, free: 220.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01932/11.82, allocations: 1.976 MB / 3.643 GB, free: 220.6 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.09556/11.91, allocations: 11.95 MB / 3.655 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.08329/12, allocations: 10.15 MB / 3.664 GB, free: 219 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.908e-05/12, allocations: 0 / 3.664 GB, free: 219 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0421/12.04, allocations: 5.515 MB / 3.67 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009086/12.05, allocations: 0.6987 MB / 3.671 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2459/12.29, allocations: 48.33 MB / 3.718 GB, free: 196.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006488/12.3, allocations: 3.346 MB / 3.721 GB, free: 195.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0233/12.32, allocations: 1.702 MB / 3.723 GB, free: 195.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01398/12.34, allocations: 3.163 MB / 3.726 GB, free: 193 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/12.34, allocations: 3.828 kB / 3.726 GB, free: 193 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3096/12.65, 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.0002321/12.65, allocations: 252.2 kB / 3.861 GB, free: 107.2 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_WD300.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300_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_WD300_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300_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_WD300_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300_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_WD300_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD300_functions.o] Error 1