Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.667/2.667, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.00316/0.00316, allocations: 182.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 93.33 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006728/0.0006732, allocations: 9.406 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.247, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005304/0.2523, allocations: 3.382 MB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9365/1.189, allocations: 127.2 MB / 1.106 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/1.19, allocations: 17.44 kB / 1.106 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003823/1.19, allocations: 72 kB / 1.106 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/1.192, allocations: 418.5 kB / 1.106 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/1.195, allocations: 0.5748 MB / 1.107 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002015/1.197, allocations: 0.6706 MB / 1.107 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008017/1.198, allocations: 346.8 kB / 1.108 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/1.199, allocations: 249.9 kB / 1.108 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/1.199, allocations: 242.4 kB / 1.108 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/1.199, allocations: 22.97 kB / 1.108 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008915/1.2, allocations: 179 kB / 1.108 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/1.2, allocations: 146.2 kB / 1.109 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003353/1.201, allocations: 157.3 kB / 1.109 GB, free: 17.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/1.203, allocations: 0.8671 MB / 1.11 GB, free: 17.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.203, allocations: 0 / 1.11 GB, free: 17.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/1.203, allocations: 0 / 1.11 GB, free: 17.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.193e-05/1.203, allocations: 0.9062 kB / 1.11 GB, free: 17.24 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002864/1.206, allocations: 0.9896 MB / 1.111 GB, free: 16.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.206, allocations: 8.844 kB / 1.111 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/1.206, allocations: 111 kB / 1.111 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/1.207, allocations: 97.69 kB / 1.111 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/1.208, allocations: 0.6369 MB / 1.111 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/1.208, allocations: 51.72 kB / 1.111 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.209, allocations: 58.28 kB / 1.111 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.211, allocations: 0.682 MB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.211, allocations: 0.8125 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.211, allocations: 29.97 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.211, allocations: 19.39 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/1.213, allocations: 0.9074 MB / 1.113 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/1.219, allocations: 2.339 MB / 1.115 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.221, allocations: 0.5923 MB / 1.116 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/1.221, allocations: 30.86 kB / 1.116 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008708/1.222, allocations: 349.8 kB / 1.116 GB, free: 14.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.637e-06/1.222, allocations: 0 / 1.116 GB, free: 14.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.002092/1.224, allocations: 0.6983 MB / 1.117 GB, free: 14.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/1.224, allocations: 245.9 kB / 1.117 GB, free: 14.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.225, allocations: 0.5765 MB / 1.118 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.226, allocations: 37.67 kB / 1.118 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.226, allocations: 326.2 kB / 1.118 GB, free: 14.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/1.226, allocations: 199.9 kB / 1.118 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/1.226, allocations: 12.12 kB / 1.118 GB, free: 13.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.227, allocations: 373.7 kB / 1.119 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.227, allocations: 166.5 kB / 1.119 GB, free: 13.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/1.228, allocations: 282.6 kB / 1.119 GB, free: 13.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/1.228, allocations: 222.9 kB / 1.119 GB, free: 13.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.228, allocations: 4 kB / 1.119 GB, free: 13.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001493/1.23, allocations: 0.5496 MB / 1.12 GB, free: 13.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/1.23, allocations: 9.891 kB / 1.12 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.23, allocations: 0 / 1.12 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.23, allocations: 4.25 kB / 1.12 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/1.231, allocations: 117.2 kB / 1.12 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.231, allocations: 7.484 kB / 1.12 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/1.232, allocations: 74.86 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/1.232, allocations: 22.56 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00073/1.233, allocations: 245.4 kB / 1.12 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.233, allocations: 68.75 kB / 1.12 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/1.235, allocations: 0.7607 MB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.235, allocations: 6.219 kB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.235, allocations: 1.859 kB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.235, allocations: 11.58 kB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.237, allocations: 0.8853 MB / 1.122 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.237, allocations: 4.953 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/1.238, allocations: 118.4 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.238, allocations: 1.594 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/1.238, allocations: 21.05 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/1.238, allocations: 2.656 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.238, allocations: 1.312 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.24, allocations: 0.6439 MB / 1.123 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/1.24, allocations: 257.8 kB / 1.123 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.241, allocations: 11.5 kB / 1.123 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/1.241, allocations: 61.28 kB / 1.123 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.242, allocations: 45.39 kB / 1.123 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/1.242, allocations: 31.52 kB / 1.123 GB, free: 12.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009139/1.243, allocations: 417.3 kB / 1.124 GB, free: 12.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.134e-06/1.243, allocations: 1.438 kB / 1.124 GB, free: 12.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001197/1.244, allocations: 219.2 kB / 1.124 GB, free: 12.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004211/1.248, allocations: 1.707 MB / 1.125 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.25, allocations: 467.5 kB / 1.126 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.25, allocations: 0 / 1.126 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/1.25, allocations: 276.3 kB / 1.126 GB, free: 11.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.252, allocations: 224.4 kB / 1.126 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.266, allocations: 4.607 MB / 1.131 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.268, allocations: 0.9644 MB / 1.132 GB, free: 8.637 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002412/1.27, allocations: 241 kB / 1.132 GB, free: 8.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.272, allocations: 293.4 kB / 1.132 GB, free: 8.562 MB / 0.698 GB Notification: Performance of SimCode: time 2.395e-06/1.272, allocations: 0 / 1.132 GB, free: 8.562 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07558/1.347, allocations: 16.55 MB / 1.149 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003748/1.348, allocations: 262.2 kB / 1.149 GB, free: 0.5859 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o] Error 1