Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",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.641/2.641, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001683/0.001683, allocations: 177.6 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.268/2.268, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001093/0.001093, allocations: 96.59 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005036, allocations: 11.16 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2319, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005336/0.2373, allocations: 3.39 MB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8694/1.107, allocations: 127.2 MB / 1.106 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/1.108, allocations: 16.09 kB / 1.106 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003632/1.108, allocations: 68.66 kB / 1.106 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/1.11, allocations: 415.8 kB / 1.106 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/1.113, allocations: 0.5743 MB / 1.107 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001938/1.115, allocations: 0.6681 MB / 1.107 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/1.115, allocations: 345.8 kB / 1.108 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/1.116, allocations: 248.2 kB / 1.108 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000636/1.117, allocations: 242.5 kB / 1.108 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/1.117, allocations: 21.5 kB / 1.108 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009011/1.118, allocations: 186.1 kB / 1.108 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/1.118, allocations: 141.3 kB / 1.109 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/1.119, allocations: 156.2 kB / 1.109 GB, free: 17.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/1.121, allocations: 0.8667 MB / 1.11 GB, free: 17.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.121, allocations: 0 / 1.11 GB, free: 17.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/1.121, allocations: 0 / 1.11 GB, free: 17.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.925e-05/1.121, allocations: 1.031 kB / 1.11 GB, free: 17.21 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.003011/1.124, allocations: 0.9925 MB / 1.111 GB, free: 16.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.124, allocations: 12.83 kB / 1.111 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003444/1.124, allocations: 108.6 kB / 1.111 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/1.125, allocations: 97.06 kB / 1.111 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/1.126, allocations: 0.6358 MB / 1.111 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/1.127, allocations: 49.48 kB / 1.111 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.127, allocations: 61.09 kB / 1.111 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/1.129, allocations: 0.6871 MB / 1.112 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/1.129, allocations: 0 / 1.112 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.129, allocations: 25.47 kB / 1.112 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/1.129, allocations: 24.23 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/1.131, allocations: 0.9066 MB / 1.113 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/1.138, allocations: 2.34 MB / 1.115 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.139, allocations: 0.5888 MB / 1.116 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.139, allocations: 33.53 kB / 1.116 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008674/1.14, allocations: 344.6 kB / 1.116 GB, free: 14.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.817e-06/1.14, allocations: 3.938 kB / 1.116 GB, free: 14.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.002078/1.142, allocations: 0.6981 MB / 1.117 GB, free: 14.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/1.143, allocations: 245.3 kB / 1.117 GB, free: 14.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.144, allocations: 0.5718 MB / 1.118 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.144, allocations: 45.92 kB / 1.118 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/1.144, allocations: 326.9 kB / 1.118 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.145, allocations: 198.1 kB / 1.118 GB, free: 13.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/1.145, allocations: 12.12 kB / 1.118 GB, free: 13.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.145, allocations: 374.2 kB / 1.119 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/1.146, allocations: 166.9 kB / 1.119 GB, free: 13.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/1.146, allocations: 283.5 kB / 1.119 GB, free: 13.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/1.147, allocations: 215.4 kB / 1.119 GB, free: 13.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.147, allocations: 6.812 kB / 1.119 GB, free: 13.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001508/1.148, allocations: 0.5435 MB / 1.12 GB, free: 13.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.148, allocations: 13.98 kB / 1.12 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.148, allocations: 0 / 1.12 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/1.148, allocations: 5.219 kB / 1.12 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/1.149, allocations: 121.8 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.149, allocations: 2.812 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/1.15, allocations: 75.31 kB / 1.12 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/1.15, allocations: 27.75 kB / 1.12 GB, free: 13.38 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.0005779/1.151, allocations: 237 kB / 1.12 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/1.151, allocations: 69.28 kB / 1.12 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/1.153, allocations: 0.7599 MB / 1.121 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.153, allocations: 10.7 kB / 1.121 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.153, allocations: 2.203 kB / 1.121 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.154, allocations: 2.203 kB / 1.121 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/1.155, allocations: 0.8899 MB / 1.122 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.155, allocations: 3.953 kB / 1.122 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/1.156, allocations: 117.6 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/1.156, allocations: 6.594 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/1.156, allocations: 21 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.156, allocations: 7.781 kB / 1.122 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.156, allocations: 2.203 kB / 1.122 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.158, allocations: 0.6457 MB / 1.123 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/1.158, allocations: 252.8 kB / 1.123 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.158, allocations: 17.81 kB / 1.123 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/1.159, allocations: 56.67 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/1.159, allocations: 48.5 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/1.16, allocations: 28.25 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008373/1.16, allocations: 420.3 kB / 1.124 GB, free: 12.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.16, allocations: 1.859 kB / 1.124 GB, free: 12.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001122/1.162, allocations: 216.5 kB / 1.124 GB, free: 12.34 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.003832/1.165, allocations: 1.714 MB / 1.125 GB, free: 11.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001413/1.167, allocations: 471.7 kB / 1.126 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.167, allocations: 0 / 1.126 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006592/1.168, allocations: 281.9 kB / 1.126 GB, free: 11.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.169, allocations: 213 kB / 1.126 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.181, allocations: 4.603 MB / 1.131 GB, free: 9.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/1.182, allocations: 0.9662 MB / 1.132 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001453/1.184, allocations: 236.3 kB / 1.132 GB, free: 8.539 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/1.184, allocations: 295.4 kB / 1.132 GB, free: 8.531 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/1.184, allocations: 0 / 1.132 GB, free: 8.531 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/1.261, allocations: 16.58 MB / 1.149 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004343/1.262, allocations: 270 kB / 1.149 GB, free: 0.5703 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_ThreeYears_usingTwoYearDataPositiveStart.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_ThreeYears_usingTwoYearDataPositiveStart_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_ThreeYears_usingTwoYearDataPositiveStart_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_ThreeYears_usingTwoYearDataPositiveStart_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.o] Error 1