Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001095/0.001095, allocations: 187.5 kB / 377.1 MB, free: 1.547 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.722/1.722, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008633/0.0008633, allocations: 98.89 kB / 0.7509 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2379, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.153, allocations: 2.096 GB / 3.084 GB, free: 86.01 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5.153, allocations: 88.7 kB / 3.084 GB, free: 85.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.445/6.598, allocations: 386.8 MB / 3.462 GB, free: 79.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.915e-06/6.598, allocations: 0 / 3.462 GB, free: 79.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004537/6.598, allocations: 163.9 kB / 3.462 GB, free: 79.41 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.02208/6.62, allocations: 6.623 MB / 3.468 GB, free: 72.69 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/6.62, allocations: 20.02 kB / 3.468 GB, free: 72.67 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005012/6.625, allocations: 0.9772 MB / 3.469 GB, free: 71.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04041/6.666, allocations: 6.003 MB / 3.475 GB, free: 65.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/6.676, allocations: 3.619 MB / 3.479 GB, free: 61.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/6.677, allocations: 0.5619 MB / 3.479 GB, free: 61.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004096/6.681, allocations: 0.7188 MB / 3.48 GB, free: 60.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04005/6.721, allocations: 11.26 MB / 3.491 GB, free: 49.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002374/6.721, allocations: 11.92 kB / 3.491 GB, free: 49.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003153/6.724, allocations: 311.9 kB / 3.491 GB, free: 49.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/6.725, allocations: 188 kB / 3.492 GB, free: 48.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04567/6.77, allocations: 14.33 MB / 3.506 GB, free: 34.47 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06324/6.834, allocations: 26.18 MB / 3.531 GB, free: 8.117 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 1.059/7.893, allocations: 9.91 MB / 3.541 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/7.895, allocations: 0.6775 MB / 3.541 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0191/7.914, allocations: 5.701 MB / 3.547 GB, free: 185 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.778e-05/7.914, allocations: 0 / 3.547 GB, free: 185 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.06065/7.975, allocations: 14.27 MB / 3.561 GB, free: 184.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/7.975, allocations: 463.8 kB / 3.561 GB, free: 184.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006012/7.981, allocations: 2.587 MB / 3.564 GB, free: 183.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002699/7.984, allocations: 136.8 kB / 3.564 GB, free: 183.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/7.987, allocations: 2.554 MB / 3.567 GB, free: 183.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004302/7.991, allocations: 2.209 MB / 3.569 GB, free: 182 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007151/7.992, allocations: 113.7 kB / 3.569 GB, free: 182 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003286/7.992, allocations: 0.5217 MB / 3.569 GB, free: 181.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01378/8.006, allocations: 4.157 MB / 3.573 GB, free: 181.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/8.021, allocations: 4.733 MB / 3.578 GB, free: 181.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/8.037, allocations: 4.345 MB / 3.582 GB, free: 181.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-05/8.037, allocations: 0 / 3.582 GB, free: 181.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03479/8.072, allocations: 10.15 MB / 3.592 GB, free: 180.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/8.072, allocations: 6.156 kB / 3.592 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/8.072, allocations: 3.094 kB / 3.592 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/8.073, allocations: 187.9 kB / 3.592 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/8.087, allocations: 1.912 MB / 3.594 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/8.091, allocations: 3.064 MB / 3.597 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/8.104, allocations: 1.009 MB / 3.598 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003878/8.108, allocations: 307.5 kB / 3.598 GB, free: 178 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.008947/8.117, allocations: 1.222 MB / 3.6 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002043/8.119, allocations: 476.8 kB / 3.6 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04361/8.163, allocations: 11.97 MB / 3.612 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001208/8.163, allocations: 69.09 kB / 3.612 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/8.163, allocations: 3.344 kB / 3.612 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003012/8.163, allocations: 35.16 kB / 3.612 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06566/8.229, allocations: 20.16 MB / 3.632 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/8.229, allocations: 5.719 kB / 3.632 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/8.243, allocations: 1.792 MB / 3.633 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/8.244, allocations: 187.8 kB / 3.634 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002972/8.247, allocations: 220.4 kB / 3.634 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/8.251, allocations: 3.124 MB / 3.637 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/8.251, allocations: 5.031 kB / 3.637 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04682/8.298, allocations: 10.1 MB / 3.647 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007234/8.305, allocations: 1.852 MB / 3.649 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003772/8.309, allocations: 119.4 kB / 3.649 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/8.321, allocations: 0.7322 MB / 3.649 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002725/8.323, allocations: 411.7 kB / 3.65 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002805/8.326, allocations: 274.1 kB / 3.65 GB, free: 158.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007273/8.333, allocations: 2.214 MB / 3.652 GB, free: 157.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.7e-07/8.333, allocations: 0 / 3.652 GB, free: 157.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01389/8.347, allocations: 1.973 MB / 3.654 GB, free: 156.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.05137/8.399, allocations: 11.96 MB / 3.666 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03294/8.432, allocations: 10.14 MB / 3.676 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/8.432, allocations: 1.312 kB / 3.676 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/8.449, allocations: 5.512 MB / 3.681 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006729/8.456, allocations: 0.7061 MB / 3.682 GB, free: 146.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1212/8.578, allocations: 48.34 MB / 3.729 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00643/8.584, allocations: 3.338 MB / 3.732 GB, free: 117.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01727/8.601, allocations: 1.698 MB / 3.734 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01063/8.612, allocations: 3.17 MB / 3.737 GB, free: 114.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/8.612, allocations: 0 / 3.737 GB, free: 114.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/8.82, allocations: 138.5 MB / 3.872 GB, free: 8.027 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/8.82, allocations: 262 kB / 3.872 GB, free: 7.688 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_WD300.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD300.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD300.c:7: In file included from ./Buildings_8_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 -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_WD300_functions.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD300_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD300_functions.c:2: In file included from ./Buildings_8_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_Buildings_BoundaryConditions_Validation_BESTEST_WD300_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD300_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_WD300_functions.o] Error 1