Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.00146/0.00146, allocations: 179.3 kB / 371.6 MB, free: 3.406 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.593/1.593, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008345/0.0008345, allocations: 94.09 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.286e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.844/5.095, allocations: 2.095 GB / 3.075 GB, free: 100.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/5.095, allocations: 83.19 kB / 3.075 GB, free: 100.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.448/6.543, allocations: 386.2 MB / 3.453 GB, free: 98.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/6.543, allocations: 0 / 3.453 GB, free: 98.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005118/6.544, allocations: 155.9 kB / 3.453 GB, free: 98.71 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.01774/6.561, allocations: 6.078 MB / 3.459 GB, free: 92.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/6.562, allocations: 12.03 kB / 3.459 GB, free: 92.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004172/6.566, allocations: 0.9772 MB / 3.46 GB, free: 91.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03967/6.605, allocations: 5.99 MB / 3.466 GB, free: 85.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009375/6.615, allocations: 3.601 MB / 3.469 GB, free: 81.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006625/6.616, allocations: 0.5622 MB / 3.47 GB, free: 81.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004438/6.62, allocations: 0.7265 MB / 3.47 GB, free: 80.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/6.644, allocations: 9.338 MB / 3.479 GB, free: 71.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/6.645, allocations: 4 kB / 3.479 GB, free: 71.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009751/6.646, allocations: 312 kB / 3.48 GB, free: 70.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.093e-05/6.646, allocations: 192 kB / 3.48 GB, free: 70.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/6.666, allocations: 10.58 MB / 3.49 GB, free: 60.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05765/6.724, allocations: 26.17 MB / 3.516 GB, free: 33.72 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/6.737, allocations: 7.53 MB / 3.523 GB, free: 26.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007007/6.744, allocations: 3.875 MB / 3.527 GB, free: 22.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/6.746, allocations: 0.6749 MB / 3.528 GB, free: 21.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009579/6.756, allocations: 4.604 MB / 3.532 GB, free: 16.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.137e-05/6.756, allocations: 0 / 3.532 GB, free: 16.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.01974/6.775, allocations: 7.527 MB / 3.539 GB, free: 9.207 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/6.776, allocations: 458.9 kB / 3.54 GB, free: 8.664 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005027/6.781, allocations: 2.554 MB / 3.542 GB, free: 6.113 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001687/6.782, allocations: 137.7 kB / 3.542 GB, free: 5.973 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/6.784, allocations: 2.554 MB / 3.545 GB, free: 3.391 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002798/6.787, allocations: 2.198 MB / 3.547 GB, free: 1.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/6.788, allocations: 116 kB / 3.547 GB, free: 1.047 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003377/6.789, allocations: 0.5185 MB / 3.548 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6404/7.429, allocations: 3.051 MB / 3.551 GB, free: 189.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009512/7.439, allocations: 3.618 MB / 3.554 GB, free: 189.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00907/7.448, allocations: 3.238 MB / 3.557 GB, free: 189.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.895e-05/7.448, allocations: 4.906 kB / 3.557 GB, free: 189.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02378/7.472, allocations: 7.911 MB / 3.565 GB, free: 189 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/7.472, allocations: 7.688 kB / 3.565 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/7.472, allocations: 6.906 kB / 3.565 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/7.473, allocations: 189.2 kB / 3.565 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/7.487, allocations: 1.906 MB / 3.567 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/7.49, allocations: 3.042 MB / 3.57 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/7.502, allocations: 1.003 MB / 3.571 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002701/7.504, allocations: 307.1 kB / 3.571 GB, free: 186.4 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 () * 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.001933/7.506, allocations: 424.7 kB / 3.572 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/7.508, allocations: 481.4 kB / 3.572 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0252/7.533, allocations: 9.738 MB / 3.582 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.663e-05/7.533, allocations: 71.58 kB / 3.582 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/7.533, allocations: 5.312 kB / 3.582 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-05/7.533, allocations: 35.2 kB / 3.582 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03836/7.572, allocations: 17.97 MB / 3.599 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/7.572, allocations: 2.531 kB / 3.599 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01192/7.584, allocations: 1.791 MB / 3.601 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/7.585, allocations: 188 kB / 3.601 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00204/7.587, allocations: 221.8 kB / 3.602 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/7.59, allocations: 3.088 MB / 3.605 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/7.59, allocations: 3.953 kB / 3.605 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/7.612, allocations: 7.879 MB / 3.612 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004919/7.617, allocations: 1.849 MB / 3.614 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002541/7.62, allocations: 117.9 kB / 3.614 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01/7.63, allocations: 0.7317 MB / 3.615 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/7.631, allocations: 411.6 kB / 3.615 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001527/7.633, allocations: 272.8 kB / 3.616 GB, free: 179.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005155/7.638, allocations: 2.18 MB / 3.618 GB, free: 178.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/7.638, allocations: 3.281 kB / 3.618 GB, free: 178.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009424/7.647, allocations: 1.974 MB / 3.62 GB, free: 177.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) * 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.02348/7.671, allocations: 9.685 MB / 3.629 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01836/7.689, allocations: 7.922 MB / 3.637 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/7.689, allocations: 2.375 kB / 3.637 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01052/7.7, allocations: 4.39 MB / 3.641 GB, free: 168.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005954/7.706, allocations: 0.7105 MB / 3.642 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04113/7.747, allocations: 11.43 MB / 3.653 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005773/7.753, allocations: 3.343 MB / 3.656 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01706/7.77, allocations: 1.693 MB / 3.658 GB, free: 162.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01056/7.78, allocations: 3.169 MB / 3.661 GB, free: 159.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/7.78, allocations: 0.9688 kB / 3.661 GB, free: 159.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/8.004, allocations: 142.1 MB / 3.8 GB, free: 93.95 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/8.004, allocations: 232 kB / 3.8 GB, free: 93.72 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_WD500.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_WD500_functions.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD500_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_WD500_functions.o] Error 1