Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD200.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.00119/0.00119, allocations: 177 kB / 377.1 MB, free: 1.559 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.76/1.76, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009338/0.0009341, allocations: 97.72 kB / 0.7509 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.91/5.164, allocations: 2.096 GB / 3.084 GB, free: 86.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/5.165, allocations: 90.95 kB / 3.084 GB, free: 86.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/6.637, allocations: 386.8 MB / 3.462 GB, free: 79.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.715e-06/6.637, allocations: 7.938 kB / 3.462 GB, free: 79.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004676/6.637, allocations: 155.9 kB / 3.462 GB, free: 79.46 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.02288/6.66, allocations: 6.619 MB / 3.468 GB, free: 72.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/6.66, allocations: 12.02 kB / 3.468 GB, free: 72.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004976/6.665, allocations: 0.9889 MB / 3.469 GB, free: 71.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03982/6.705, allocations: 5.991 MB / 3.475 GB, free: 65.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009685/6.715, allocations: 3.619 MB / 3.479 GB, free: 62.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005801/6.715, allocations: 0.5579 MB / 3.479 GB, free: 61.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003912/6.719, allocations: 0.7188 MB / 3.48 GB, free: 60.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03966/6.759, allocations: 11.27 MB / 3.491 GB, free: 49.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003668/6.759, allocations: 3.938 kB / 3.491 GB, free: 49.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003472/6.763, allocations: 315.9 kB / 3.491 GB, free: 49.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/6.763, allocations: 184 kB / 3.492 GB, free: 48.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04747/6.811, allocations: 14.34 MB / 3.506 GB, free: 34.53 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07022/6.881, allocations: 26.18 MB / 3.531 GB, free: 8.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6414/7.522, allocations: 9.916 MB / 3.541 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/7.524, allocations: 0.6717 MB / 3.541 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01942/7.544, allocations: 5.709 MB / 3.547 GB, free: 186.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 4.085e-05/7.544, allocations: 3.312 kB / 3.547 GB, free: 186.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.06438/7.608, allocations: 14.27 MB / 3.561 GB, free: 186.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002915/7.609, allocations: 459.9 kB / 3.561 GB, free: 185.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/7.619, allocations: 2.584 MB / 3.564 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003473/7.623, allocations: 142.1 kB / 3.564 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004151/7.627, allocations: 2.555 MB / 3.567 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00491/7.632, allocations: 2.2 MB / 3.569 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002501/7.635, allocations: 120.1 kB / 3.569 GB, free: 183.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006801/7.635, allocations: 0.5193 MB / 3.569 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01554/7.651, allocations: 4.16 MB / 3.573 GB, free: 183.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01705/7.668, allocations: 4.733 MB / 3.578 GB, free: 182.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/7.685, allocations: 4.35 MB / 3.582 GB, free: 182.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-05/7.685, allocations: 0 / 3.582 GB, free: 182.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.04371/7.729, allocations: 10.14 MB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/7.729, allocations: 6.156 kB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/7.729, allocations: 6.125 kB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/7.73, allocations: 192.4 kB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/7.744, allocations: 1.9 MB / 3.594 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/7.749, allocations: 3.075 MB / 3.597 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01297/7.762, allocations: 1.005 MB / 3.598 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003124/7.765, allocations: 308.3 kB / 3.598 GB, free: 179.6 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.009343/7.774, allocations: 1.234 MB / 3.6 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00412/7.779, allocations: 473.4 kB / 3.6 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05225/7.831, allocations: 11.97 MB / 3.612 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/7.831, allocations: 67.72 kB / 3.612 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-05/7.831, allocations: 0.8125 kB / 3.612 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002947/7.831, allocations: 34.45 kB / 3.612 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06741/7.899, allocations: 20.17 MB / 3.632 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-05/7.899, allocations: 5.156 kB / 3.632 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.015/7.914, allocations: 1.786 MB / 3.633 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/7.915, allocations: 183.7 kB / 3.634 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003225/7.919, allocations: 225.5 kB / 3.634 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/7.922, allocations: 3.124 MB / 3.637 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/7.922, allocations: 5.719 kB / 3.637 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04788/7.97, allocations: 10.09 MB / 3.647 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007655/7.978, allocations: 1.857 MB / 3.648 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004364/7.982, allocations: 123.2 kB / 3.649 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01271/7.995, allocations: 0.7315 MB / 3.649 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002518/7.998, allocations: 409.8 kB / 3.65 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002939/8.001, allocations: 276.4 kB / 3.65 GB, free: 159.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006382/8.007, allocations: 2.214 MB / 3.652 GB, free: 159 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.12e-07/8.007, allocations: 0 / 3.652 GB, free: 159 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01322/8.02, allocations: 1.972 MB / 3.654 GB, free: 158.4 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.05248/8.073, allocations: 11.96 MB / 3.666 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03488/8.108, allocations: 10.14 MB / 3.676 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/8.108, allocations: 2.688 kB / 3.676 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01861/8.126, allocations: 5.512 MB / 3.681 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/8.134, allocations: 0.7129 MB / 3.682 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1395/8.273, allocations: 48.33 MB / 3.729 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007601/8.281, allocations: 3.346 MB / 3.732 GB, free: 118.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01823/8.299, allocations: 1.69 MB / 3.734 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01181/8.311, allocations: 3.172 MB / 3.737 GB, free: 115.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/8.311, allocations: 0 / 3.737 GB, free: 115.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1972/8.508, allocations: 138.5 MB / 3.872 GB, free: 9.57 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/8.509, allocations: 256.6 kB / 3.872 GB, free: 9.23 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.c:2: In file included from ./Buildings_8_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_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD200_functions.o] Error 1