Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001124/0.001124, allocations: 185.1 kB / 377.1 MB, free: 1.531 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.05/2.05, allocations: 205.4 MB / 0.6366 GB, free: 9.496 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.0009441/0.000944, allocations: 91.31 kB / 0.7509 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 116.3 MB / 0.9884 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.358/6.672, allocations: 2.073 GB / 3.061 GB, free: 124.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/6.673, allocations: 90.28 kB / 3.061 GB, free: 124.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2179/6.891, allocations: 91.03 MB / 3.15 GB, free: 34.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.017e-06/6.891, allocations: 0 / 3.15 GB, free: 34.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002303/6.891, allocations: 47.92 kB / 3.15 GB, free: 34.44 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005861/6.897, allocations: 1.844 MB / 3.152 GB, free: 32.53 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/6.897, allocations: 16.02 kB / 3.152 GB, free: 32.52 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007851/6.898, allocations: 194.4 kB / 3.152 GB, free: 32.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/6.9, allocations: 381.4 kB / 3.152 GB, free: 31.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/6.903, allocations: 1.019 MB / 3.153 GB, free: 30.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/6.903, allocations: 98.64 kB / 3.153 GB, free: 30.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000467/6.904, allocations: 132 kB / 3.154 GB, free: 30.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/6.907, allocations: 1.496 MB / 3.155 GB, free: 29.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/6.907, allocations: 4 kB / 3.155 GB, free: 29.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/6.907, allocations: 56 kB / 3.155 GB, free: 28.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/6.907, allocations: 39.94 kB / 3.155 GB, free: 28.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/6.91, allocations: 2.047 MB / 3.157 GB, free: 26.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007342/6.917, allocations: 4.45 MB / 3.161 GB, free: 22.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/6.92, allocations: 1.461 MB / 3.163 GB, free: 20.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/6.92, allocations: 61.17 kB / 3.163 GB, free: 20.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/6.922, allocations: 0.8002 MB / 3.164 GB, free: 20.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 4.077e-06/6.922, allocations: 7.875 kB / 3.164 GB, free: 20 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.005894/6.928, allocations: 2.148 MB / 3.166 GB, free: 17.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/6.928, allocations: 454 kB / 3.166 GB, free: 17.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/6.929, allocations: 1.053 MB / 3.167 GB, free: 16.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/6.93, allocations: 53.7 kB / 3.167 GB, free: 16.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/6.93, allocations: 0.5991 MB / 3.168 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/6.931, allocations: 453.4 kB / 3.168 GB, free: 15.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/6.931, allocations: 24 kB / 3.168 GB, free: 15.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001327/6.931, allocations: 357.9 kB / 3.169 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/6.932, allocations: 442.4 kB / 3.169 GB, free: 14.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/6.933, allocations: 0.6579 MB / 3.17 GB, free: 13.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/6.934, allocations: 0.5207 MB / 3.17 GB, free: 13.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/6.934, allocations: 0 / 3.17 GB, free: 13.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003484/6.937, allocations: 1.428 MB / 3.172 GB, free: 11.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/6.937, allocations: 8.219 kB / 3.172 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/6.937, allocations: 4 kB / 3.172 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/6.938, allocations: 161.5 kB / 3.172 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/6.94, allocations: 279.6 kB / 3.172 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/6.943, allocations: 3.089 MB / 3.175 GB, free: 7.762 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/6.945, allocations: 154.9 kB / 3.175 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/6.945, allocations: 59.95 kB / 3.175 GB, free: 7.551 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$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 (143): * Single equations (assignments): 141 * 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.0009909/6.946, allocations: 381.9 kB / 3.176 GB, free: 7.168 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/6.946, allocations: 142.2 kB / 3.176 GB, free: 7.027 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/6.951, allocations: 2.018 MB / 3.178 GB, free: 4.988 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/6.951, allocations: 16 kB / 3.178 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/6.951, allocations: 0 / 3.178 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/6.951, allocations: 11.97 kB / 3.178 GB, free: 4.961 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/6.953, allocations: 1.521 MB / 3.179 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/6.953, allocations: 0 / 3.179 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/6.954, allocations: 287.5 kB / 3.18 GB, free: 3.109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/6.955, allocations: 165.5 kB / 3.18 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/6.955, allocations: 47.97 kB / 3.18 GB, free: 2.895 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7418/7.697, allocations: 3.14 MB / 3.183 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/7.697, allocations: 4.828 kB / 3.183 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/7.704, allocations: 1.648 MB / 3.185 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/7.705, allocations: 486 kB / 3.185 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/7.706, allocations: 35.2 kB / 3.185 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/7.707, allocations: 130.8 kB / 3.185 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/7.708, allocations: 119.3 kB / 3.185 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/7.708, allocations: 59.28 kB / 3.185 GB, free: 233.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002123/7.71, allocations: 0.8379 MB / 3.186 GB, free: 233.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/7.71, allocations: 1.75 kB / 3.186 GB, free: 233.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002644/7.713, allocations: 0.5066 MB / 3.187 GB, free: 233.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 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * 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.00892/7.722, allocations: 3.284 MB / 3.19 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004494/7.726, allocations: 1.45 MB / 3.191 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/7.726, allocations: 9.984 kB / 3.191 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/7.729, allocations: 0.9642 MB / 3.192 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/7.732, allocations: 462.5 kB / 3.193 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/7.758, allocations: 10.2 MB / 3.203 GB, free: 227.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/7.759, allocations: 1.317 MB / 3.204 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002557/7.762, allocations: 0.5013 MB / 3.204 GB, free: 226.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/7.763, allocations: 0.6606 MB / 3.205 GB, free: 226.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.114e-05/7.763, allocations: 0 / 3.205 GB, free: 226.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/7.868, allocations: 46.44 MB / 3.25 GB, free: 224 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/7.868, allocations: 262.5 kB / 3.251 GB, free: 223.7 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_WeatherData_Examples_ReaderTMY3.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_WeatherData_Examples_ReaderTMY3_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_WeatherData_Examples_ReaderTMY3_functions.o] Error 1