Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD600,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600",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.774/1.774, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001004/0.001003, allocations: 177.1 kB / 377.1 MB, free: 1.516 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.557/1.557, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.001087/0.001087, allocations: 94.11 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 0.8748 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.919/5.195, allocations: 2.096 GB / 3.084 GB, free: 85.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/5.196, allocations: 89.67 kB / 3.084 GB, free: 85.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.314/6.51, allocations: 386.8 MB / 3.462 GB, free: 79.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/6.51, allocations: 7.938 kB / 3.462 GB, free: 79.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003826/6.51, allocations: 152 kB / 3.462 GB, free: 79.1 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.01859/6.529, allocations: 6.623 MB / 3.468 GB, free: 72.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/6.529, allocations: 16.02 kB / 3.468 GB, free: 72.36 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003525/6.533, allocations: 0.985 MB / 3.469 GB, free: 71.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04146/6.574, allocations: 5.999 MB / 3.475 GB, free: 65.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/6.585, allocations: 3.623 MB / 3.479 GB, free: 61.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004709/6.586, allocations: 0.5541 MB / 3.479 GB, free: 61.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003217/6.589, allocations: 0.7303 MB / 3.48 GB, free: 60.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03486/6.624, allocations: 11.26 MB / 3.491 GB, free: 49.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/6.624, allocations: 3.938 kB / 3.491 GB, free: 49.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002458/6.627, allocations: 320 kB / 3.491 GB, free: 48.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-05/6.627, allocations: 188 kB / 3.492 GB, free: 48.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04471/6.672, allocations: 14.34 MB / 3.506 GB, free: 34.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06775/6.739, allocations: 26.18 MB / 3.531 GB, free: 7.809 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5958/7.335, allocations: 9.917 MB / 3.541 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/7.337, allocations: 0.6749 MB / 3.541 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02305/7.36, allocations: 5.711 MB / 3.547 GB, free: 186.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.92e-05/7.36, allocations: 1.875 kB / 3.547 GB, free: 186.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.06634/7.427, allocations: 14.27 MB / 3.561 GB, free: 185.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003078/7.427, allocations: 463.6 kB / 3.561 GB, free: 185.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008663/7.436, allocations: 2.585 MB / 3.564 GB, free: 185.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002848/7.439, allocations: 136.2 kB / 3.564 GB, free: 185.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004155/7.443, allocations: 2.561 MB / 3.567 GB, free: 184.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007352/7.45, allocations: 2.2 MB / 3.569 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003399/7.454, allocations: 119 kB / 3.569 GB, free: 183.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007226/7.454, allocations: 0.5161 MB / 3.569 GB, free: 183 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01528/7.47, allocations: 4.162 MB / 3.573 GB, free: 183 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/7.486, allocations: 4.731 MB / 3.578 GB, free: 182.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/7.502, allocations: 4.348 MB / 3.582 GB, free: 182.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.55e-05/7.502, allocations: 4.25 kB / 3.582 GB, free: 182.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.04459/7.547, allocations: 10.14 MB / 3.592 GB, free: 182.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/7.547, allocations: 6.594 kB / 3.592 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/7.547, allocations: 3.094 kB / 3.592 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/7.548, allocations: 190.5 kB / 3.592 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/7.563, allocations: 1.909 MB / 3.594 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/7.566, allocations: 3.068 MB / 3.597 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/7.579, allocations: 1.003 MB / 3.598 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003228/7.582, allocations: 303.8 kB / 3.598 GB, free: 179.3 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.01044/7.593, allocations: 1.237 MB / 3.6 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003902/7.597, allocations: 471.7 kB / 3.6 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06649/7.663, allocations: 11.97 MB / 3.612 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.901e-05/7.663, allocations: 69.69 kB / 3.612 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/7.664, allocations: 0 / 3.612 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002756/7.664, allocations: 34.08 kB / 3.612 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06465/7.728, allocations: 20.17 MB / 3.632 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/7.729, allocations: 2.469 kB / 3.632 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01528/7.744, allocations: 1.792 MB / 3.633 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/7.745, allocations: 182.6 kB / 3.634 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002934/7.748, allocations: 218.4 kB / 3.634 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/7.752, allocations: 3.126 MB / 3.637 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.752, allocations: 3.797 kB / 3.637 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04041/7.792, allocations: 10.1 MB / 3.647 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006946/7.799, allocations: 1.853 MB / 3.648 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003886/7.803, allocations: 118.2 kB / 3.649 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01193/7.815, allocations: 0.7302 MB / 3.649 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002341/7.818, allocations: 418.7 kB / 3.65 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00263/7.82, allocations: 270.5 kB / 3.65 GB, free: 159.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006887/7.827, allocations: 2.215 MB / 3.652 GB, free: 158.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/7.827, allocations: 0 / 3.652 GB, free: 158.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01345/7.841, allocations: 1.973 MB / 3.654 GB, free: 158.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.05192/7.893, allocations: 11.97 MB / 3.666 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03705/7.93, allocations: 10.14 MB / 3.676 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/7.93, allocations: 1.375 kB / 3.676 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01953/7.949, allocations: 5.504 MB / 3.681 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007644/7.957, allocations: 0.7157 MB / 3.682 GB, free: 147.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1405/8.098, allocations: 48.33 MB / 3.729 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007346/8.105, allocations: 3.348 MB / 3.732 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0185/8.123, allocations: 1.706 MB / 3.734 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01131/8.135, allocations: 3.169 MB / 3.737 GB, free: 115.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/8.135, allocations: 0 / 3.737 GB, free: 115.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1986/8.333, allocations: 138.5 MB / 3.872 GB, free: 9.145 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/8.334, allocations: 263.7 kB / 3.872 GB, free: 8.801 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_WD600.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600_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_WD600_functions.o Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600_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_WD600_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD600_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_WD600_functions.o] Error 1