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.611/1.611, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.00154/0.00154, allocations: 189 kB / 377.1 MB, free: 1.543 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.682/1.682, allocations: 205.4 MB / 0.6366 GB, free: 9.59 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.0009536/0.0009535, allocations: 89.95 kB / 0.7509 GB, free: 62.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004941, allocations: 12 kB / 0.8748 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2967, allocations: 116.3 MB / 0.9884 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.367, allocations: 2.096 GB / 3.084 GB, free: 86.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/5.367, allocations: 95.59 kB / 3.084 GB, free: 86.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.336/6.703, allocations: 386.8 MB / 3.462 GB, free: 79.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.416e-06/6.703, allocations: 4 kB / 3.462 GB, free: 79.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003819/6.703, allocations: 148 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.01892/6.722, allocations: 6.629 MB / 3.468 GB, free: 72.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/6.722, allocations: 16.02 kB / 3.468 GB, free: 72.67 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003674/6.726, allocations: 0.985 MB / 3.469 GB, free: 71.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04094/6.767, allocations: 5.998 MB / 3.475 GB, free: 65.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/6.778, allocations: 3.621 MB / 3.479 GB, free: 61.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/6.779, allocations: 0.5541 MB / 3.479 GB, free: 61.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/6.782, allocations: 0.7265 MB / 3.48 GB, free: 60.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03629/6.818, allocations: 11.26 MB / 3.491 GB, free: 49.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/6.818, allocations: 3.938 kB / 3.491 GB, free: 49.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/6.82, allocations: 316 kB / 3.491 GB, free: 49.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-05/6.82, allocations: 188 kB / 3.492 GB, free: 48.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04405/6.864, allocations: 14.33 MB / 3.506 GB, free: 34.47 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06673/6.931, allocations: 26.19 MB / 3.531 GB, free: 8.113 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6186/7.55, allocations: 9.919 MB / 3.541 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/7.552, allocations: 0.6794 MB / 3.541 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0211/7.573, allocations: 5.702 MB / 3.547 GB, free: 186.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.982e-05/7.573, allocations: 2.594 kB / 3.547 GB, free: 186.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.06481/7.638, allocations: 14.26 MB / 3.561 GB, free: 186.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/7.638, allocations: 463.7 kB / 3.561 GB, free: 185.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/7.643, allocations: 2.584 MB / 3.564 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00281/7.646, allocations: 140.3 kB / 3.564 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002718/7.649, allocations: 2.556 MB / 3.567 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004268/7.653, allocations: 2.198 MB / 3.569 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/7.654, allocations: 122.8 kB / 3.569 GB, free: 183.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003984/7.655, allocations: 0.5178 MB / 3.569 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01516/7.67, allocations: 4.162 MB / 3.573 GB, free: 183.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01687/7.687, allocations: 4.728 MB / 3.578 GB, free: 182.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/7.704, allocations: 4.346 MB / 3.582 GB, free: 182.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/7.704, allocations: 6.172 kB / 3.582 GB, free: 182.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.04512/7.749, allocations: 10.15 MB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/7.749, allocations: 5.906 kB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/7.749, allocations: 9.047 kB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/7.75, allocations: 187.9 kB / 3.592 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/7.765, allocations: 1.908 MB / 3.594 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/7.769, allocations: 3.068 MB / 3.597 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/7.782, allocations: 1.009 MB / 3.598 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003228/7.785, allocations: 306.9 kB / 3.598 GB, free: 179.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.009078/7.794, allocations: 1.228 MB / 3.6 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004121/7.799, allocations: 475 kB / 3.6 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05247/7.851, allocations: 11.97 MB / 3.612 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/7.851, allocations: 69.5 kB / 3.612 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.14e-05/7.851, allocations: 0 / 3.612 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003119/7.852, allocations: 39.08 kB / 3.612 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06785/7.919, allocations: 20.17 MB / 3.632 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.867e-05/7.92, allocations: 4 kB / 3.632 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0144/7.934, allocations: 1.79 MB / 3.633 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/7.935, allocations: 187.8 kB / 3.634 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003029/7.938, allocations: 216.1 kB / 3.634 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/7.942, allocations: 3.126 MB / 3.637 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/7.942, allocations: 5.25 kB / 3.637 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04677/7.989, allocations: 10.1 MB / 3.647 GB, free: 161.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008643/7.998, allocations: 1.857 MB / 3.648 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004457/8.002, allocations: 123.2 kB / 3.649 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01342/8.016, allocations: 0.7304 MB / 3.649 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003038/8.019, allocations: 414.2 kB / 3.65 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004089/8.023, allocations: 272 kB / 3.65 GB, free: 159.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00795/8.031, allocations: 2.212 MB / 3.652 GB, free: 158.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/8.031, allocations: 0 / 3.652 GB, free: 158.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01366/8.045, allocations: 1.974 MB / 3.654 GB, free: 158.3 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.05024/8.095, allocations: 11.96 MB / 3.666 GB, free: 153.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03494/8.13, allocations: 10.14 MB / 3.676 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/8.13, allocations: 0 / 3.676 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0189/8.149, allocations: 5.511 MB / 3.681 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/8.156, allocations: 0.7059 MB / 3.682 GB, free: 147.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1285/8.284, allocations: 48.33 MB / 3.729 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00664/8.291, allocations: 3.352 MB / 3.732 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01668/8.308, allocations: 1.695 MB / 3.734 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/8.318, allocations: 3.165 MB / 3.737 GB, free: 115.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/8.318, allocations: 0 / 3.737 GB, free: 115.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/8.531, allocations: 138.5 MB / 3.872 GB, free: 9.465 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/8.531, allocations: 256.8 kB / 3.872 GB, free: 9.125 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_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: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_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: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_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