Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD200.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.WD200,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200",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.592/2.592, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001617/0.001617, allocations: 173.1 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.024/2.024, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001164/0.001164, allocations: 98.16 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000667/0.000667, allocations: 15.22 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2223, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.681/6.904, allocations: 2.094 GB / 3.073 GB, free: 180.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/6.904, allocations: 94.12 kB / 3.073 GB, free: 180.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.24/9.144, allocations: 386.8 MB / 3.451 GB, free: 176.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.947e-06/9.144, allocations: 4 kB / 3.451 GB, free: 176.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005031/9.145, 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.0285/9.174, allocations: 6.623 MB / 3.457 GB, free: 170.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/9.174, allocations: 20.02 kB / 3.457 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004232/9.178, allocations: 0.9811 MB / 3.458 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0745/9.252, allocations: 5.998 MB / 3.464 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/9.264, allocations: 3.61 MB / 3.468 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006703/9.265, allocations: 0.558 MB / 3.468 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003921/9.268, allocations: 0.7227 MB / 3.469 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05755/9.326, allocations: 11.26 MB / 3.48 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004221/9.327, allocations: 0 / 3.48 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003626/9.33, allocations: 316 kB / 3.48 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/9.33, allocations: 188 kB / 3.48 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0788/9.409, allocations: 14.34 MB / 3.494 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09552/9.505, allocations: 26.18 MB / 3.52 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0563/9.561, allocations: 9.935 MB / 3.53 GB, free: 95.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/9.564, allocations: 0.675 MB / 3.53 GB, free: 94.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0345/9.598, allocations: 5.712 MB / 3.536 GB, free: 89.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.454e-05/9.598, allocations: 0 / 3.536 GB, free: 89.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.08949/9.688, allocations: 14.27 MB / 3.55 GB, free: 74.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/9.688, allocations: 458.8 kB / 3.55 GB, free: 74.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006472/9.694, allocations: 2.594 MB / 3.553 GB, free: 71.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002455/9.697, allocations: 141.7 kB / 3.553 GB, free: 71.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002876/9.7, allocations: 2.554 MB / 3.555 GB, free: 68.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004364/9.704, allocations: 2.202 MB / 3.557 GB, free: 66.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002644/9.707, allocations: 120 kB / 3.558 GB, free: 66.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005376/9.707, allocations: 0.5107 MB / 3.558 GB, free: 65.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02541/9.733, allocations: 4.165 MB / 3.562 GB, free: 61.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02662/9.76, allocations: 4.738 MB / 3.567 GB, free: 56.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02687/9.786, allocations: 4.344 MB / 3.571 GB, free: 52.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/9.787, allocations: 0 / 3.571 GB, free: 52.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.06376/9.85, allocations: 10.14 MB / 3.581 GB, free: 42.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/9.85, allocations: 8 kB / 3.581 GB, free: 42.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/9.85, allocations: 4.281 kB / 3.581 GB, free: 42.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/9.852, allocations: 185.5 kB / 3.581 GB, free: 42.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03488/9.887, allocations: 1.919 MB / 3.583 GB, free: 40.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/9.895, allocations: 3.067 MB / 3.586 GB, free: 36.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0266/9.922, allocations: 1.002 MB / 3.587 GB, free: 35.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003617/9.926, allocations: 312 kB / 3.587 GB, free: 35.48 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.007931/9.934, allocations: 1.219 MB / 3.588 GB, free: 34.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003037/9.937, allocations: 474.1 kB / 3.589 GB, free: 33.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07459/10.01, allocations: 11.97 MB / 3.601 GB, free: 21.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-05/10.01, allocations: 68 kB / 3.601 GB, free: 21.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/10.01, allocations: 8 kB / 3.601 GB, free: 21.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002096/10.01, allocations: 35.86 kB / 3.601 GB, free: 21.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0848/10.1, allocations: 20.17 MB / 3.62 GB, free: 1.219 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/10.1, allocations: 3.984 kB / 3.62 GB, free: 1.215 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.778/10.87, allocations: 1.787 MB / 3.622 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/10.88, allocations: 190.7 kB / 3.622 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002698/10.88, allocations: 217.1 kB / 3.623 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005531/10.88, allocations: 3.113 MB / 3.626 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/10.88, allocations: 1.062 kB / 3.626 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0688/10.95, allocations: 10.1 MB / 3.635 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007416/10.96, allocations: 1.851 MB / 3.637 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004177/10.97, allocations: 115.9 kB / 3.637 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02295/10.99, allocations: 0.7322 MB / 3.638 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002551/10.99, allocations: 411.4 kB / 3.638 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002655/10.99, allocations: 274.6 kB / 3.639 GB, free: 222.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007729/11, allocations: 2.215 MB / 3.641 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.41e-07/11, allocations: 0 / 3.641 GB, free: 222.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01302/11.01, allocations: 1.97 MB / 3.643 GB, free: 222.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.07564/11.09, allocations: 11.97 MB / 3.655 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06257/11.15, allocations: 10.14 MB / 3.664 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/11.15, allocations: 1 kB / 3.664 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03242/11.19, allocations: 5.514 MB / 3.67 GB, free: 220.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007993/11.19, allocations: 0.7121 MB / 3.671 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.19/11.38, allocations: 48.32 MB / 3.718 GB, free: 198.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006384/11.39, allocations: 3.345 MB / 3.721 GB, free: 197.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02366/11.41, allocations: 1.695 MB / 3.723 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01345/11.43, allocations: 3.177 MB / 3.726 GB, free: 194.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/11.43, allocations: 0 / 3.726 GB, free: 194.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.181/12.61, allocations: 138.5 MB / 3.861 GB, free: 109 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/12.61, allocations: 260.2 kB / 3.861 GB, free: 108.6 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_WD200.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200_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_WD200_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200_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_WD200_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200_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_WD200_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.o] Error 1