Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.897/2.897, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001668/0.001668, allocations: 178.9 kB / 370.8 MB, free: 10.86 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.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00118/0.00118, allocations: 84.23 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005087, allocations: 14.56 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005503/0.2447, allocations: 3.53 MB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8963/1.141, allocations: 127.2 MB / 1.106 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008152/1.142, allocations: 17.03 kB / 1.106 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004097/1.142, allocations: 70.44 kB / 1.106 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/1.145, allocations: 424.5 kB / 1.106 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/1.147, allocations: 0.5945 MB / 1.107 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002176/1.15, allocations: 0.7483 MB / 1.108 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009671/1.151, allocations: 391.6 kB / 1.108 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/1.152, allocations: 305.5 kB / 1.108 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/1.152, allocations: 300.9 kB / 1.109 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/1.152, allocations: 21.62 kB / 1.109 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/1.155, allocations: 0.625 MB / 1.109 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/1.155, allocations: 162 kB / 1.109 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/1.155, allocations: 172.3 kB / 1.11 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/1.159, allocations: 1.14 MB / 1.111 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.159, allocations: 0 / 1.111 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/1.159, allocations: 3.938 kB / 1.111 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.198e-05/1.159, allocations: 5.469 kB / 1.111 GB, free: 1.145 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003835/1.162, allocations: 1.137 MB / 1.112 GB, free: 16.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.163, allocations: 9.469 kB / 1.112 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004512/1.163, allocations: 120.9 kB / 1.112 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.165, allocations: 208.3 kB / 1.112 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/1.167, allocations: 0.6729 MB / 1.113 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/1.167, allocations: 50.72 kB / 1.113 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/1.167, allocations: 65.31 kB / 1.113 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/1.17, allocations: 0.817 MB / 1.114 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.17, allocations: 3.984 kB / 1.114 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/1.17, allocations: 30.05 kB / 1.114 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/1.171, allocations: 27.69 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/1.175, allocations: 1.086 MB / 1.115 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006576/1.182, allocations: 2.365 MB / 1.117 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/1.184, allocations: 0.753 MB / 1.118 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/1.184, allocations: 31.91 kB / 1.118 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/1.186, allocations: 465.7 kB / 1.118 GB, free: 14.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.978e-06/1.186, allocations: 4.672 kB / 1.118 GB, free: 14.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00647/1.192, allocations: 1.185 MB / 1.12 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/1.193, allocations: 194 kB / 1.12 GB, free: 14.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/1.194, allocations: 0.5797 MB / 1.12 GB, free: 14.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.194, allocations: 44.42 kB / 1.12 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/1.195, allocations: 356.1 kB / 1.121 GB, free: 14.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/1.195, allocations: 238 kB / 1.121 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/1.195, allocations: 11.69 kB / 1.121 GB, free: 13.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002197/1.195, allocations: 379.8 kB / 1.121 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/1.197, allocations: 255.9 kB / 1.122 GB, free: 13.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/1.198, allocations: 353.5 kB / 1.122 GB, free: 13.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.199, allocations: 296.6 kB / 1.122 GB, free: 13.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.199, allocations: 0 / 1.122 GB, free: 13.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003839/1.203, allocations: 0.8045 MB / 1.123 GB, free: 13.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.203, allocations: 6.844 kB / 1.123 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.203, allocations: 0 / 1.123 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/1.204, allocations: 83.23 kB / 1.123 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.206, allocations: 157.4 kB / 1.123 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/1.209, allocations: 1.547 MB / 1.125 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.21, allocations: 94.2 kB / 1.125 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-05/1.21, allocations: 27.22 kB / 1.125 GB, free: 12.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006966/1.211, allocations: 248.3 kB / 1.125 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.211, allocations: 83.78 kB / 1.125 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/1.216, allocations: 1.121 MB / 1.126 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.216, allocations: 8.5 kB / 1.126 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.216, allocations: 0 / 1.126 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.216, allocations: 4.406 kB / 1.126 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/1.217, allocations: 0.858 MB / 1.127 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.217, allocations: 0 / 1.127 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.219, allocations: 162.9 kB / 1.127 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008687/1.22, allocations: 87.92 kB / 1.127 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/1.22, allocations: 22.67 kB / 1.127 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/1.223, allocations: 1.57 MB / 1.129 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.223, allocations: 0 / 1.129 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/1.226, allocations: 0.9146 MB / 1.13 GB, free: 9.992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/1.227, allocations: 277.1 kB / 1.13 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.227, allocations: 19.98 kB / 1.13 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.228, allocations: 78.88 kB / 1.13 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/1.229, allocations: 64.52 kB / 1.13 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.229, allocations: 31.88 kB / 1.13 GB, free: 9.836 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008443/1.229, allocations: 421.7 kB / 1.131 GB, free: 9.688 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.6e-07/1.229, allocations: 0 / 1.131 GB, free: 9.688 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001314/1.231, allocations: 269.8 kB / 1.131 GB, free: 9.637 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005545/1.236, allocations: 1.942 MB / 1.133 GB, free: 8.691 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003065/1.239, allocations: 0.7984 MB / 1.134 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.24, allocations: 0 / 1.134 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.241, allocations: 0.5171 MB / 1.134 GB, free: 8.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.243, allocations: 240.9 kB / 1.134 GB, free: 8.176 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.26, allocations: 5.32 MB / 1.139 GB, free: 5.555 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.261, allocations: 1.011 MB / 1.14 GB, free: 4.719 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001774/1.263, allocations: 262.1 kB / 1.141 GB, free: 4.586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.264, allocations: 344.6 kB / 1.141 GB, free: 4.535 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.264, allocations: 0 / 1.141 GB, free: 4.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08165/1.346, allocations: 20.18 MB / 1.161 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004196/1.346, allocations: 275.6 kB / 1.161 GB, free: 10.47 MB / 0.7136 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_ReaderTMY3HDirNor.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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_ReaderTMY3HDirNor_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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_ReaderTMY3HDirNor_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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_ReaderTMY3HDirNor_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o] Error 1